Overview
We recommend you read the full docs, but this will get you started with the basics.
Initialize
const Dubnium = require('dubnium')
const db = new Dubnium('dirPath','ext', useConfig)import Dubnium from 'dubnium'
new Dubnium('dirPath','ext')Make your first Record
db.create('tag', content)Get a Record
db.get('tag')db.getFromValue('key','value',returnType) //JSON OnlyreturnType info can be found here
db.getAll(returnType)returnType info can be found here
Delete a Record
db.get('tag').delete()Modify a Record
db.get('tag').setValue("key","new value")For non-JSON, use overwrite()
db.get("old_tag").setTag("new_tag")Check out our full docs for more API methods and in-depth explanations.
Last updated
Was this helpful?