Dubnium
v1
v1
  • Newest version
  • Reference
    • Install
    • Quick Start
    • API
      • Initialize
      • Create and Delete
      • Get
      • Modify
      • Other
    • CLI
      • Install CLI
      • CLI Use
      • CLI Commands
    • Events
    • returnType
    • License
  • Update Log
  • Discord
  • NPM Page
  • Support the Project
  • Get help & submit feedback
Powered by GitBook
On this page
  • Modify Record Content (JSON Only)
  • Parameters
  • Overwrite Record Content
  • Parameters
  • Modify Record's tag
  • Parameters

Was this helpful?

  1. Reference
  2. API

Modify

Modify Record Content (JSON Only)

Change the Record's key's value to something.

db.setValue('tag','key','value')

Parameters

Name
About
Type
Required

tag

The Record's tag

String

key

The key to change

String

value

The value to set to

String

Overwrite Record Content

Overwrite a Record found by it's tag.

db.overwrite('tag',data)

Parameters

Name
About
Type
Required

tag

The Record's tag

String

data

The data to overwrite with

Any (must match file extension)

Modify Record's tag

Change a Record's tag found by its current tag.

db.setTag('old','new')

Parameters

Name
About
Type
Required

old_tag

The current tag of the Record.

String

new_tag

The new tag you want for the Record.

String

PreviousGetNextOther

Last updated 2 years ago

Was this helpful?