Returns all the entries from the collection.
Returns
Description
Array<Data>
All the entries from the collection
// Note: Users is a collection. Users.createBulk([ { id: 1, name: 'Peter' }, { id: 2, name: 'Henry' } ]); Users.getAll(); // [{ id: 1, name: 'Peter' }, { id: 2, name: 'Henry' }]
Last updated 10 months ago