Methods
-
hydrate(document){Object}
utils.js, line 175 -
When parsing, coerce types where applicable.
Name Type Description documentObject The document to hydrate.
Returns:
Type Description Object The hydrated document.
Type Definitions
-
PaginationOptions
-
Pagination Options
Properties:
Name Type Description pageNumber The page number.
sizeNumber The page size.
startNumber The starting index.
endNumber The ending index (exclusive)
-
QueryObject
-
You can find more information on querying documents here.
Example
{ name: { $in: ['Foo', 'Bar'] } } -
QueryListArray
-
An Array of id values associated with a particular query.
-
QueryMatchObject
-
Properties:
Name Type Description queryListArray The list of document IDs.
matchTypeString The type of match strategy used.
-
WideMatch
-
Wide-Match strategy results.
Properties:
Name Type Description targetQueryString A super-query that contains the requested query.
rangeOptionsObject Properties
Name Type Description startNumber The starting index of the requested query's data (inclusive).
endNumber The starting index of the requested query's data (exclusive).