Dubnium
Browser
Browser
  • Import
  • Overview
  • Initialize
  • Manage
  • Get
  • Modify
  • Templates
  • Miscellaneous
  • Update Log
  • Forum
Powered by GitBook
On this page
  • Initialize
  • Make your first Record
  • Get a Record
  • Delete a Record
  • Modify a Record
  • Check out our full docs for more API methods and in-depth explanations.

Was this helpful?

Overview

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

PreviousImportNextInitialize

Last updated 2 years ago

Was this helpful?

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

db.getAll(returnType)

returnType info can be found

Delete a Record

db.get('tag').delete()

Modify a Record

db.get('tag').setValue("key","new value")

For non-JSON, use

db.get("old_tag").setTag("new_tag")

Check out our full docs for more API methods and in-depth explanations.

here
here
overwrite()