Get
Get Record From Tag
db.get('tag')Parameter
About
Type
Required
tag
The Record's tag
String
Get Record information
Content
db.get('tag').contentPath
db.get('tag').pathdb.get('tag').realpathTag
db.get('tag').tagGet Database name
db.nameGet all Records
db.getAll(returnType)Parameter
About
Type
Required
Search Tags
db.searchTags('term',returnType)Parameter
About
Type
Required
term
The search term
String
Search Record Content
db.get("tag").search('query','splitBy')Search Object Keys (JSON Only)
db.searchKeys('query') // splitBy is not a param for the searchKeys methodParameter
About
Type
Required
query
Search query
String
splitBy
String to split the Record's content by. For example, \n for lines or " " for spaces. If not present, Dubnium will default to space.
String
Get Record from Value (JSON Only)
db.getFromValue('key','value',returnType)Parameter
About
Type
Required
Check if a Record exists
db.has('tag')Parameter
About
Type
Required
tag
The tag to check for
String
Last updated
Was this helpful?