getDocsFromCache
Executes the query and returns the results as a QuerySnapshot
from cache.
Returns an empty result set if no documents matching the query are currently
cached.
function getDocsFromCache<AppModelType, DbModelType extends DocumentData>(query: Query<AppModelType, DbModelType>): Promise<QuerySnapshot<AppModelType, DbModelType>>;
§
getDocsFromCache<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.