EngineFindOptions
Options for Engine.findOne and Engine.findMany.
Properties
Section titled “Properties”columns?
Section titled “columns?”
optionalcolumns?:string[]
Columns or fields to return. When omitted or empty, all columns are returned.
filter?
Section titled “filter?”
optionalfilter?:CheckedExpr
A checked AIP-160 filter expression for the WHERE/filter clause. When omitted, all rows are matched.
limit?
Section titled “limit?”
optionallimit?:number
Maximum number of rows to return.
offset?
Section titled “offset?”
optionaloffset?:number
Number of rows to skip (for pagination).
orderBy?
Section titled “orderBy?”
optionalorderBy?:OrderBy
Ordering directive parsed from an AIP-132 order_by string. The engine translates this into database-specific ordering.
table:
string
The table or collection name.