patron.db
    TypeScript icon, indicating that this package has built-in type declarations

    5.0.3 • Public • Published

    Image Image

    Image

    Yüklemek İçin

    npm install patron.db
    

    Nasıl Kullanılır? 💫

    JavaScript

    const Patron = require("patron.db");
    const db = new Patron.Database();
    const quickdb = require("quick.db");
    //const db = new Patron.Database("./database.json");
    
    db.set("Hello","World");
    
    db.set("Hello_9874449847_owner","World");
    
    db.get("Hello");
    
    db.fetch("Hello");
    
    db.has("Hello");
    
    db.push("World","Patron 1 Numara");
    
    db.type("World");
    
    db.all();
    
    db.valueArray();
    
    db.keyArray();
    
    db.eval("this.all()");
    
    db.add("Number",15);
    
    db.subtract("Number",3)
    
    db.deleteAll();
    
    db.PatrondbToquickdb(quickdb);
    
    db.quickdbToPatrondb(quickdb);
    
    db.backup(3600000); // MS
    
    db.pull("User",["YOUR İTEM"]);
    
    db.includes("9874449847");
    
    db.startsWith("Hello_");
    
    db.endsWith("_owner");
    
    db.toJSON();
    
    db.destroy();
    

    Image

    Keywords

    Install

    npm i patron.db

    DownloadsWeekly Downloads

    2

    Version

    5.0.3

    License

    MIT

    Unpacked Size

    14.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • mert..1010
    • payidar