Counts the number of rows matching a condition
Table or collection name
Filter to apply
Additional query options
Deletes many rows
The number of affected rows
Table or collection name
Filter to apply
Finds rows
Table or collection name
Filter to apply
Sort results by this field. Leave as null for default sorting
"asc" or "desc". Leave as null for default sorting
Number of rows to skip. Leave as -1 for no skip
Limit of results. Leave as -1 for no limit
List of fields to fetch from the table. Leave as null to fetch them all.
Additional query options
Finds rows (stream mode). You can parse each row with an ASYNC function
Table or collection name
Filter to apply
Sort results by this field. Leave as null for default sorting
"asc" or "desc". Leave as null for default sorting
Number of rows to skip. Leave as -1 for no skip
Limit of results. Leave as -1 for no limit
List of fields to fetch from the table. Leave as null to fetch them all.
Additional query options
Function to parse each row
Finds rows (stream mode). You can parse each row with a SYNC function
Table or collection name
Filter to apply
Sort results by this field. Leave as null for default sorting
"asc" or "desc". Leave as null for default sorting
Number of rows to skip. Leave as -1 for no skip
Limit of results. Leave as -1 for no limit
List of fields to fetch from the table. Leave as null to fetch them all.
Additional query options
Function to parse each row
Atomic increment
Table or collection name
The name of the key
The value of the key
The field to increment
The amount to increment
Inserts a row
Table or collection name
Row to insert
The name of the primary key (if any)
Optional
callback: ((value: any) => void)Callback to set the value of the primary key after inserting (Optional, only if auto-generated key)
Summation of many rows
Table or collection name
Filter to apply
Name of the primary key
Name of the field to aggregate
Updates many rows
The number of affected rows
Table or collection name
Filter to apply
Updates to apply to each row
Generated using TypeDoc
Represents a driver to connect to a data source, for example a database (MYSQL, Mongo, etc)