cheemstr.db
v1.0.0
Published
Kolay Kullanımlı Türkçe JsonDB/YamlDB Database Modülü
Downloads
6
Maintainers
Readme
Cheemstr.DB
Kolay Okunabilir JSON Database Modülü
Örnekler
quick.db den data taşırken
const db = require("cheemstr.db");
const quickdb = require("quick.db");
db.tası(quickdb)
Örnekler
const db = require("cheemstr.db")
db.Okunabilir(true) // Bu JSON Databasenizin Okunabilir Olmasınız Sağlar
db.Adoptor("yamldb") // Adöptörünüzü Ayarlar Normal Ayarlı Adaptör: JsonDB
db.ayarla("a.b.c", "xyz") // xyz
db.al("a.b.c") // {b: {c: "xyz"}}
db.tümü("a.b.c") // {b: {c: "xyz"}}
db.tümü() // {a: {b: {c: "xyz"}}}
db.ilerlet("a", "merhaba") // ["merhaba"]
db.ilerlet("a", "dünya") // ["dünya", "merhaba"]
db.gerilet("a", "merhaba") // ["merhaba"]
db.ilerlet("b", {test: "t1"}) // [{test: "t1"}]
db.ilerlet("b", {test2: "t2"}) // [{test: "t1"}, {test2: "t2"}]
db.getir("x") // true = var
db.varmı("x") // true = var
db.sil("x") // true = var
db.hepsiniSil() // true = var