realm-js/lib/results.js

19 lines
325 B
JavaScript
Raw Normal View History

2015-10-08 00:08:19 +00:00
'use strict';
let internal = require('./internal-types');
2015-10-08 00:08:19 +00:00
let util = require('./util');
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, internal.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
}