You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
381 B
11 lines
381 B
var FB = require('fb'),
|
|
Arrow = require('arrow');
|
|
|
|
/**
|
|
* Finds all model instances. A maximum of 1000 models are returned.
|
|
* @param {Arrow.Model} Model The model class being updated.
|
|
* @param {Function} callback Callback passed an Error object (or null if successful) and the models.
|
|
*/
|
|
exports.findAll = function findAll(Model, callback) {
|
|
Model.query({}, callback);
|
|
};
|
|
|