findAll

finds all files by a criterion

array findAll(object|function conf);
confobject|functionthe criteria for a file
arrayan array with file objects

Example

var files = vault.data.findAll({by:"status", match:"failed"});

See also
Back to top