Searching in a nested array
Posted by: Karl Hörnell
Date: February 07, 2021 04:02PM

Perhaps this belongs in the newbie forum. I couldn't find any documentation about a particular search case. Suppose I have a collection "scifi_lovers" of documents in this format:

{
"firstname":"John",
"lastname":"Smith",
"books":[
{"title":"Dune", "author":"Frank Herbert"},
{"title":"Fahrenheit 451". "author":"Ray Bradbury"}
]
}

How would I use X DevAPI to find documents where the "books" array contains a specific title?

Options: ReplyQuote


Subject
Views
Written By
Posted
Searching in a nested array
558
February 07, 2021 04:02PM
369
February 24, 2021 06:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.