Get

Get Record From Tag

Get a Record from it's tag.

db.get('tag')

Parameters

Name
About
Type
Required

tag

The Record's tag

String

Get All Records

db.getAll(returnType)

Parameters

Name
About
Type
Required

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

Name
About
Type
Required

term

The search term

String

returnType

Read about it here

Number

Get Record from Value (JSON Only)

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

Parameters

Name
About
Type

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

Name
About
Type
Required

tag

The tag to check for

String

Last updated