realm-js/lib/results.js

19 lines
338 B
JavaScript
Raw Normal View History

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