findAll

finds all files by a criterion

array findAll(object|function conf);

Parameters

confobject|functionthe criteria for a file

Returns

arrayan array with file objects

Example

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

See also
Back to top