Skip to content

quoriel/db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuorielDB

An intuitive and high-performance interface for working with databases in ForgeScript, providing reliable and scalable data storage using LMDB.

Installation

npm i @quoriel/db lmdb

Connection

const { ForgeClient } = require("@tryforge/forgescript");
const { QuorielDB } = require("@quoriel/db");

const db = new QuorielDB({
    events: [
        "databaseConnect",
        "recordUpdate",
        "recordRemove"
    ]
});

const client = new ForgeClient({
    extensions: [
        db
    ]
});

// Loading events.
db.commands.load("events");

client.login("...");

Useful

About

An intuitive and high-performance interface for working with databases in ForgeScript, providing reliable and scalable data storage using LMDB.

Resources

License

Stars

Watchers

Forks

Contributors