Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getDocsFromServer

Executes the query and returns the results as a QuerySnapshot from the server. Returns an error if the network is not available.

function getDocsFromServer<AppModelType, DbModelType extends DocumentData>(query: Query<AppModelType, DbModelType>): Promise<QuerySnapshot<AppModelType, DbModelType>>;
§
getDocsFromServer<AppModelType, DbModelType extends DocumentData>(query: Query<AppModelType, DbModelType>): Promise<QuerySnapshot<AppModelType, DbModelType>>
[src]

§Type Parameters

§
AppModelType
[src]
§
DbModelType extends DocumentData
[src]

§Parameters

§
query: Query<AppModelType, DbModelType>
[src]

§Return Type

§
Promise<QuerySnapshot<AppModelType, DbModelType>>
[src]

A Promise that will be resolved with the results of the query.