Skip to content

Commit 6aaed09

Browse files
otaviojavanjr-11
andauthored
Update spec/src/main/asciidoc/query-language.asciidoc
Co-authored-by: Nathan Rauh <nathan.rauh@us.ibm.com>
1 parent f58fc63 commit 6aaed09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/src/main/asciidoc/query-language.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Syntactically, logical operators are parsed with lower precedence than <<Equalit
359359
====
360360
When using NoSQL databases, the support for restrictions varies depending on the database type:
361361
362-
- **Key-Value Databases**: These databases will not support the described restrictions. Queries in key-value databases are typically limited to operations using the key attribute only.
362+
- **Key-Value Databases**: Support for the equality restriction is required for the `Id` attribute. There is no requirement to support other types of restrictions or restrictions on other entity attributes.
363363
- **Wide-Column Databases**: Wide-column databases are not required to support the `AND` operator or the `OR` operator. Restrictions must be supported for the key attribute that is annotated with `jakarta.nosql.Id`. Support for restrictions on other attributes is not required. Typically they can be used if they are indexed as secondary indexes, although support varies by database provider.
364364
- **Graph and Document Databases**: The `AND` and `OR` operators and all of the restrictions described in this section must be supported. Precedence between `AND` and `OR` operators is not guaranteed and may vary significantly based on the NoSQL provider.
365365

0 commit comments

Comments
 (0)