In the "writing queries" tutorial, the user is told simply calling a Taffy database will return all records. Examples:
// Run a query against the DB to return all rowsdb();
// functional example, returns all recordsdb(function () {return true;});
However, running either simply returns the Taffy object with a list of all its available functions:
Object {extend: undefined, filter: function, order: function, limit: function, start: function…}
I did find simply using get() on the database will return all records, but this method isn't mentioned anywhere on that page.
In the "writing queries" tutorial, the user is told simply calling a Taffy database will return all records. Examples:
// Run a query against the DB to return all rows
db();
// functional example, returns all records
db(function () {
return true;
});
However, running either simply returns the Taffy object with a list of all its available functions:
Object {extend: undefined, filter: function, order: function, limit: function, start: function…}
I did find simply using
get()
on the database will return all records, but this method isn't mentioned anywhere on that page.