Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

n3rthusdb

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n3rthusdb

database modülü

  • 0.0.5
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

n3rthusdb

TÜRK YAPIMI DATABASE MODÜLÜ

İndirmek İçin

npm install --save n3rthusdb

Örnek Kodlar

//Dil = Türkçe
db.kont('n3rthus') /* Belirtilen Veriyi Kontrol Eder */
db.bul("veri") /* Belirtilen veriyi Bulur */
db.yaz("veri","belirti") /* database veri yazar */
db.sil("veri") /* database'den sil */
db.yedekle("veri") /* dosyayı belirtilen isimde yedekler */
db.sıfırla() /* Databasei Sıfırlar */
db.topla("puan",1) /* Belirtilen verinin numarasını Belirtilen Sayı İle Toplar */
db.çıkar("puan",1) /* Belirtilen verinin numarasını Belirtilen Sayı İle Çıkartır */
//language = English
db.has('n3rthus') /* Checks Specified Data */
db.get("data") /* Finds the specified data */
db.set("data","symptom") /* database writes data */
db.delete("data") /* delete from database */
db.backup("data") /* backs up the file with the specified name */
db.deleteall() /* Database Reset */
db.add("xp",1) /* Adds the number of the specified data with the specified number */
db.substr("xp",1) /* Subtracts the number of the specified data with the specified number */

YAZDIRMA KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
db.yaz("Mesaj",`örnek`) /* database'den bul */
console.log(db.bul("Mesaj"))
// KONSOL => örnek

SİLME KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
db.sil("veri") /* database'den sil */

KONTROL KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
if(db.kont('n3rthus')){ /* databaseyi kontrol et */
    var n3rthus = db.bul('n3rthus') /* veri Var İse belirtilen veriyi konsola gönder */
} else {
    var n3rthus = "!" /* veri Yok ise veriyi "!" olarak ayarla */
}
console.log(n3rthus) /*Prefixi Gönderir*/

//veri yok ise KONSOL => !
//veri var ise KONSOL => <veri>

BULMA KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
/*{"veri":"TEST"}*/
console.log(db.bul("veri"))

YEDEKLE KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
db.yedekle("veri") /* dosyayı belirtilen isimde yedekler */

SIFIRLA KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
db.sıfırla() /* Databasei Sıfırlar */

TOPLA/ARTIR KODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
// DATABASE => {"veri":9}
db.topla("puan",1) /* Belirtilen verinin numarasını Belirtilen Sayı İle Toplar */
// DATABASE => {"veri":10}

ÇIKARKODU

const { Database } = require("n3rthusdb")
const db = new Database("database")
// DATABASE => {"veri":10}
db.çıkar("puan",5) /* Belirtilen verinin numarasını Belirtilen Sayı İle Çıkartır */
// DATABASE => {"veri":5}

Keywords

FAQs

Package last updated on 17 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc