plasmidhq / plasmid

A browser database with optional multi-device syncronization
http://plasmid.readthedocs.org/en/latest/
30 stars 1 forks source link

Expand anyof filter into a more flexibly generic JOIN-ish option #49

Open ironfroggy opened 7 years ago

ironfroggy commented 7 years ago

Possible ways to define this:

// existing
{anyof: ["#foo", "#bar"]}
// same
{or: [
  {eq: "#foo"},
  {eq: "#bar"},
]}
// if you want the INTERSECTION
{and: [
  {eq: "#foo"},
  {eq: "#bar"},
]}