For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

We recommend you read the full docs, but this will get you started with the basics.

Initialize

You can initialize as many databases as you want

const db = new Dubnium('type',temp)

Make your first Record

db.create('tag', data)

Get a Record

db.get('tag')
db.getFromValue('key','value',returnType) //JSON Only

returnType 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