whybolu.db
v1.0.4
Published
Gelişmiş türkçe bir database modülü!
Downloads
11
Readme
WhYBoLu DB
Gelişmiş türkçe bir database modülü!
Kurulum
npm i whybolu.db
Örnek
const whyboludb = require("whybolu.db");
const db = new whyboludb({
"fileName": "database",
"folderName": "databases",
"adapter":"YamlDB",
"autoFile": true
});
db.set("a.b.c", 12)
// 12
db.add("a.b.c", 1)
// 13
db.subtract("a.b.c", 1)
// 12
db.delete("a")
// true
db.push("ab", "testing")
// [ 'testing' ]
db.push("ab", "testing1")
// [ 'testing', 'testing1' ]
db.unpush("ab", "testing1")
// [ 'testing' ]
db.has("ab")
// true
db.deleteAll()
// true/false
db.get("ab")
// [ 'testing' ]
Bağlantılar