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]§Return Type
§
Promise<QuerySnapshot<AppModelType, DbModelType>>
[src]A Promise
that will be resolved with the results of the query.