Let's say I have this JSON (a sample - a real life example can be found in the apple itunes rss channel ) stored in a RethinkDB table called 'test':
{ "feed": { "entry": [ { "title": { "label": "Some super duper app" }, "summary": { "label": "Bla bla bla..." } }, { "title": { "label": "Another awsome app" }, "summary": { "label": "Lorem ipsum blabla..." } } ] } }
How do I write a ReQL query in JavaScript to get a summary of all entries ( entry ) that have a title containing the string "xyz"? I expect the query result to return an array of matching entry objects, not an array of matching feeds .
rethinkdb
codeclash
source share