You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`.getData()` api accepts an object with options. These are the options you can pass:
75
+
`.getData()` api accepts an object with options (and an optional argument to ask for a cursor instead of a fetched array; see example below). These are the options you can pass:
76
76
77
77
*`transform` - a transform function to alter the selected search texts. See above for an example usage.
78
78
*`sort` - an object with MongoDB sort specifiers
79
79
*`limit` - no of objects to limit
80
+
*`docTransform` - a transform function to transform the documents in the search result. Use this for computed values or model helpers. (see example below)
0 commit comments