Open raheelshan opened 10 years ago
Seconded
I'm not following. Using .get() should return the objects from that match your search.
So people({state:"TX"}).get() should return the records (objects) from people where state is TX contained in an array.
// people({state:"TX"}).get()[0] will give you the first objects // people({state:"TX"}).get()[1] second, etc
I have gone through all the example on taffy db. Many of the examples are missing get() usage which when i console hey are displayed as an object instead of the required searched data.