Skip to main content

GetAllQuery<RowType>

Performs a AbstractPowerSyncDatabase.getAll operation for a watched query.

Type Parameters

Type ParameterDefault type
RowTypeunknown

Implements

Constructors

new GetAllQuery()

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: AbstractPowerSyncDatabase; }
options.dbAbstractPowerSyncDatabase

Returns

Promise<RowType[]>

Implementation of

WatchCompatibleQuery.execute