rolly.db

1.0.17 • Public • Published

Gelişmiş Veri Tabanı Modülü

Schema.js

const rollys = require("rolly.db")
var Schema =  (function () {
    function Schema(name, age, phone, role, boolmod, booldeveloper,boolfriend,boolbooster) {
        rollys.create("staff", {
            name: name,
            age: age,
            phone: phone,
            role: role,
            moderator: boolmod,
            developer: booldeveloper,
            friend: boolfriend,
            booster: boolbooster
        }) 
    }
  
    return Schema;

}());
module.exports = Schema;

İndex.js

const rollys = require("rolly.db")
const DataSchema = require("Schema.js")

new DataSchema("Roffly", 00, 0000000000, "Owner", true, true, true, true)

console.log(rollys.findData("staff").name)

Package Sidebar

Install

npm i rolly.db

Weekly Downloads

19

Version

1.0.17

License

ISC

Unpacked Size

5.48 kB

Total Files

5

Last publish

Collaborators

  • roffly