get method

JSPromise<QuerySnapshot> get(
  1. Query query
)

Retrieves a query result. Holds a pessimistic lock on all returned documents.

@param query A query to execute. @return A QuerySnapshot for the retrieved data.

Implementation

external JSPromise<QuerySnapshot> get(Query query);