📢Oracle NoSQL Database Version 25.1 #5
Replies: 0 comments 3 replies
-
Inner JoinsExtended the SQL dialect of Oracle NoSQL to support inner joins among tables in the same table hierarchy. Two or more tables in the same hierarchy may be joined in a query. There are no restrictions on the position of the tables within the hierarchy. Self-joins (joining a table with itself) are also allowed. To show some examples of join queries, we use the following tables that model an email application:
The following query selects the messages that (a) belong to users working on NoSQL, and (b) are in the inbox folder of their corresponding user. The join predicates "msg.uid = u.uid" and "msg.uid = inbox.uid" make the query satisfy the above restriction.
The following query returns for each message M in the inbox folder, the number of messages that belong to the same user and the same thread as M.
The following query groups each user's inbox messages according to their view date and computes the number of messages viewed per date. Notice that in this query, we have to use the "$" in the alias of the users.messages table. Without the "$," the unnesting expression in the FROM clause would be msg.content.views[], and msg.content would be interpreted as a table name.
|
Beta Was this translation helpful? Give feedback.
-
Support of JSON Merge PatchExtended the SQL UPDATE statement to support updates of JSON fields via the JSON merge patch specification. For example, assuming that "info" is a column of type JSON in a table called "Foo", the following query updates the info column of the row with id = 0. It sets the value of the "state" field inside the "address" field to "OR". It also sets the value of the "firstName" field to the value of the $name external variable. If any of the targeted fields ("address", "state", and "firstName") do not exist in info, it is inserted.
And the following query removes the "city" field, if it exists, from the address of the row with id = 2.
|
Beta Was this translation helpful? Give feedback.
-
Support for Updating Multiple Records in a QueryHere is an example:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
📢 📢 📢 We are excited to announce the general availability of Oracle NoSQL Database Version 25.1.
It is a flexible, multi-model, multi-region, hybrid-cloud, active-active database designed to provide a highly available, scalable, performant, and reliable data management solution to meet today's most demanding workloads. Focusing on simplicity and developer productivity, deploying in hybrid-cloud or on-premise environments is automated and completed with just a few clicks. In addition, NoSQL's built-in cross-region replication can be enabled in minutes to deploy a fully active-active system.
Oracle NoSQL Database is well-suited for high-volume and high-velocity workloads, such as the Internet of Things, customer 360, online advertising, fraud detection, consumer-scale persistent session management, user personalization, and online gaming. In addition, developers can use a single application interface to build applications that run anywhere quickly.
With our new version - 25.1
We also improved our SDK, utilities, and plugins, which are delivered in specific packages with specific versions.
Beta Was this translation helpful? Give feedback.
All reactions