File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1943,18 +1943,14 @@ module.exports = function(registry) {
1943
1943
* return filter;
1944
1944
* };
1945
1945
* };
1946
+ * ```
1946
1947
*
1947
1948
* @param {Number } since Return only changes since this checkpoint.
1948
1949
* @param {Object } modelFilter Filter describing which model instances to
1949
1950
* include in the list of changes.
1950
1951
* @returns {Object } The filter object to pass to `Change.find()`. Default:
1951
- * ```js
1952
- * {
1953
- * where: {
1954
- * checkpoint: {gte: since},
1955
- * modelName: this.modelName
1956
- * },
1957
- * }
1952
+ * ```
1953
+ * {where: {checkpoint: {gte: since}, modelName: this.modelName}}
1958
1954
* ```
1959
1955
*/
1960
1956
PersistedModel . createChangeFilter = function ( since , modelFilter ) {
You can’t perform that action at this time.
0 commit comments