ericelliott / object-list

Treat arrays of objects like a db you can query.
MIT License
43 stars 2 forks source link

Default selection clause option #8

Open ericelliott opened 9 years ago

ericelliott commented 9 years ago

Add an option to define default selection clauses. You can use these to omit records from selections by default.

For example:

{
  defaultClauses: [
    { deleted: false }
  ]
}