7.6.5 • Published 2 years ago

coders.db v7.6.5

Weekly downloads
70
License
apache-2.0
Repository
-
Last release
2 years ago

CODERS.DB, Easy Local Database Module. For more Info Click here! (Support Discord Server) ❤️

Imgur

// Set Function Example:

const data = require("coders.db");
data.set("coders.db", "OK");

// Output -> 'OK'
// Push Function Example:

const data = require("coders.db");
const mydatabaseKeyName = data.get("info.push");
mydatabaseKeyName.push("info.push", "push first");

// Output -> ['push first']
// Get Function Example:

const data = require("coders.db");
const mydatabaseKeyName = data.get("info");
// Output -> push: ['push first']
// Add Function Example:

const data = require("coders.db");

let getFunctionExample = 1;
data.set("getFunctionExample", getFunctionExample);
//and
data.add("getFunctionExample", 10);

// Output -> 11
// Subtract Function Example:

const data = require("coders.db");

let subtractNumber = 31;
data.set("subtract", subtractNumber);
//and
data.subtract("subtract", 10);

// Output -> 21
// Delete Function Example:

const data = require("coders.db");

data.delete("info");

// Output -> true
// Has Function Example:

const data = require("coders.db");

data.has("info");

// Output -> false
// allData Function Example:

const data = require("coders.db");

data.allData();

// Output -> {x:[a:"b"]}
// deleteFile Function Example:

const data = require("coders.db");

data.deleteFile();
// Output -> true

//Warning: and again you need to create a 'codersdb.sqlite' file.
// (Quick.db To Coders.Db) Move Function Example:

const data = require("coders.db");

data.move(require("quick.db"));

// Output -> true

//Warning: uninstall Quick.db after you're done.
// SetLanguage Function Example:

const data = require("coders.db");

data.setLanguage("tr");
// Output -> 'tr'
//or
data.setLanguage("en");
// Output -> 'en'

//Warning: Default Lang 'EN_US'
Note: This Example belongs to version '7.6.5' of 'coders.db' Module
7.6.5

2 years ago

7.6.1

3 years ago

7.5.3

3 years ago

7.5.2

3 years ago

7.5.1

3 years ago

7.4.9

3 years ago

7.4.5

4 years ago

7.4.1

4 years ago

7.3.9

4 years ago

7.3.5

4 years ago

7.2.3

4 years ago

7.2.2

4 years ago

7.2.1

4 years ago

7.2.0

4 years ago

7.1.8

4 years ago

7.1.7

4 years ago

7.1.5

4 years ago

7.0.4

4 years ago

7.0.3

5 years ago

7.0.1

5 years ago

0.1.0

5 years ago

6.3.2

5 years ago