For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search

How to search your database.

Search Tags

db.list({filter:() => e.tag == "TAG", limit:10})
Parameter
About
Type
Required

options.filter

Filter function

Function

options.limit

Max results

Number

Search all Records by Content

db.getFromValue('query', limit)
Parameter
About
Type
Required

query

Query to search for

String

limit

Max results

Number

Search Content

Have Dubnium split the content by a character and then search the array.

db.get('tag').searchAsArray('query', 'splitBy')
Parameter
About
Type
Required

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

Search Object Keys

JSON Only

Parameter
About
Type
Required

query

The search query

String

Last updated