例如,如果我的数据库是:
{
people: name: [{"first":"Billy", "last":"smith"}]
},
{
people: name: [{"first":"bob", "last":"smith"}]
},
{
people: name: [{"first":"thor", "last":"smith"}]
},
{
people: name: [{"first":"hobo", "last":"smith"}]
}
我想要一些效果:query.like("b")
并让它返回第一个、第二个和第四个文档
Javascript API中有这样的东西吗?