[Documentation] Clarification on Querying JSON Values and Indexing #147
Replies: 3 comments
-
Hi @otaviojava , If you are using JSON columns, you need to specify an alias for the table. Indexes are not mandatory
The query provided above compares 2 strings.
The good query is adding an alias
You can find information about queries in the Developers Guide You can find information about the indexes in the Developers Guide You can find all the details in the SQL Reference Guide Let us know if you need more information |
Beta Was this translation helpful? Give feedback.
-
For completeness only, You can also use the default alias for a table, the table name itself
Extract from the documentation
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the links! |
Beta Was this translation helpful? Give feedback.
-
I am seeking clarification on how to query JSON values in Oracle NoSQL Database and whether indexing is mandatory for such queries. The documentation provides indexing information but needs more clarity on the essential details for querying JSON values.
I have read the documentation and explored a sample JSON document as provided below:
I have attempted various queries, including the one below, without success:
Please provide clear guidance on how to query JSON values in the Oracle NoSQL Database and clarify whether indexing is mandatory for such queries. Any examples or code snippets illustrating the correct usage would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions