realm-js/lib/results.js

25 lines
457 B
JavaScript

/* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
'use strict';
const constants = require('./constants');
const util = require('./util');
module.exports = {
create,
};
class Results {}
util.createMethods(Results.prototype, constants.objectTypes.RESULTS, [
'filtered',
'snapshot',
'sortByProperty',
]);
function create(realmId, info) {
return util.createList(Results.prototype, realmId, info);
}