For example, If my database is:
{
people: name: [{"first":"Billy", "last":"smith"}]
},
{
people: name: [{"first":"bob", "last":"smith"}]
},
{
people: name: [{"first":"thor", "last":"smith"}]
},
{
people: name: [{"first":"hobo", "last":"smith"}]
}
I would like something to the effect of: query.like("b")
and have it return the first, second and fourth docs
Is there anything like this in the Javascript API?
See Question&Answers more detail:os