AbstractReadonlycollectionThe collection the receiver is operating on.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
ReadonlyqueryThe query the receiver is operating with.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
ReadonlyqueryThe named arguments for the query.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
AbstractevictEvicts all documents that match the query generated by the preceding function chaining.
An array promise containing the IDs of the documents that were evicted.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Executes the query generated by the preceding function chaining and return the list of matching documents.
An array promise containing documents matching the query generated by the preceding function chaining.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Limits the number of documents that get returned when querying a collection for matching documents.
The maximum number of documents that will be returned.
A cursor that you can chain further function calls and then either get the matching documents immediately or get updates about them over time.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Offsets the resulting set of matching documents.
This is useful if you aren't interested in the first N matching documents
for one reason or another. For example, you might already have queried the
collection and obtained the first 20 matching documents and so you might
want to run the same query as you did previously but ignore the first 20
matching documents, and that is when you would use offset.
The number of matching documents that you want the eventual resulting set of matching documents to be offset by (and thus not include).
A cursor that you can chain further function calls and then either get the matching documents immediately or get updates about them over time.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
AbstractremoveRemoves all documents that match the query generated by the preceding function chaining.
An array promise containing the IDs of the documents that were removed.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Sorts the documents that match the query provided in the preceding
find-like function call.
Documents that are missing the field to sort by will appear at the beginning of the results when sorting in ascending order.
Name or path of the field to sort by.
Optionaldirection: SortDirectionSpecify whether you want the sorting order to be
ascending or descending. Defaults to ascending.
A cursor that you can chain further function calls and then either get the matching documents immediately or get updates about them over time.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
AbstractupdateUpdates documents that match the query generated by the preceding function chaining.
Document values must not be set to any non-finite numbers (NaN,
Infinity, -Infinity).
A closure that gets called with all of the documents matching the query. The documents are instances of MutableDocument so you can call update-related functions on them.
An UpdateResultsMap promise mapping document IDs to lists of update results that describe the updates that were performed for each document.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Not available in React Native environments.
Deprecated
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption