Get

Get Record From Tag

Get a Record from it's tag.

db.get('tag')

Parameters

NameAboutTypeRequired

tag

The Record's tag

String

Get All Records

db.getAll(returnType)

Parameters

NameAboutTypeRequired

returnType

Read about it here

Number

Fuzzy Search Tags

db.searchTags('term',returnType)

Fuzzy search made possible by Fuzzy (https://www.npmjs.com/package/fuzzy)

Parameters

NameAboutTypeRequired

term

The search term

String

returnType

Read about it here

Number

Get Record from Value (JSON Only)

db.getFromValue('key','value',onlyFirst)

Parameters

NameAboutType

key

The key to get from

String

value

The value to get from

String

onlyFirst

Return only the first found Record

Boolean

Check if a Record exists

Check if a record exists.

This will only return true or false.

db.exists('tag')

Parameters

NameAboutTypeRequired

tag

The tag to check for

String

Last updated