Skip to main content

GetAllQuery<RowType>

Performs a DBGetUtils.getAll operation for a watched query.

Type Parameters​

Type ParameterDefault type
RowTypeunknown

Implements​

Constructors​

Constructor​

new GetAllQuery<RowType>(options): GetAllQuery<RowType>;

Parameters​

ParameterType
optionsGetAllQueryOptions<RowType>

Returns​

GetAllQuery<RowType>

Methods​

compile()​

compile(): CompiledQuery;

Returns​

CompiledQuery

Implementation of​

WatchCompatibleQuery.compile


execute()​

execute(options): Promise<RowType[]>;

Parameters​

ParameterType
options{ db: CommonPowerSyncDatabase; }
options.dbCommonPowerSyncDatabase

Returns​

Promise<RowType[]>

Implementation of​

WatchCompatibleQuery.execute