realm-js/lib/results.js

19 lines
338 B
JavaScript

'use strict';
const constants = require('./constants');
const util = require('./util');
module.exports = {
create,
};
class Results {}
util.createMethods(Results.prototype, constants.objectTypes.RESULTS, [
'sortByProperty',
]);
function create(realmId, info) {
return util.createList(Results.prototype, realmId, info);
}