QuerySpec

QuerySpec

Describes the interface for a query function. Extends OperationSpec with query-specific parameters.

Properties:
Name Type Attributes Default Description
stream bool <optional>
false

If true, the return value will be wrapped as a stream.

query number | string | QueryFunction

If a number, it is the offset in the arguments array for the query string argument. If a string, it is the query being executed. If a function, it will be passed the arguments and must return the query string.

Source:
See:

Extends