3.15 Managing SODA Collections
Simple Oracle Document Access (SODA) is a set of NoSQL-style APIs that let you create and store collections of documents in Oracle Database, retrieve them, and query them, without needing to know Structured Query Language (SQL) or how the documents are stored in the database.
- About SODA Collections
You can load data to a SODA collection as JSON, TXT, or ZIP files. - Creating a SODA Collection
Use SQL Workshop to load documents to a new SODA collection. - Viewing a SODA Collection
Access existing SODA collections in Object Browser. - Editing or Dropping a SODA Collection
View a SODA collection in Object Browser, then use the Load Data to upload a new version of the data or click the Drop button to remove the SODA collection from the workspace.
Parent topic: Managing Database Objects with Object Browser
3.15.1 About SODA Collections
You can load data to a SODA collection as JSON, TXT, or ZIP files.
SODA collections are an Object Type in Object Browser. You use Object Browser to view or edit existing SODA collections, including drop them from the workspace.
Requirements
- Database 18.3 or higher.
- The workspace user must have the SODA_APP role.
Supported Filetypes
You can upload the following filetypes to a SODA collection:
-
JSON files - APEX supports JSON files containing an array with multiple JSON objects. APEX extracts each JSON object from the array and loads it as a single JSON document to the SODA collection. The array selector is auto-detected by default.
-
JSON lists - JSON lists are files containing multiple JSON documents, one per line, separated by line feeds.
-
ZIP files - ZIP files are automatically extracted and each file can be uploaded to a SODA collection. Depending on data load settings, non-JSON files within the ZIP archive are either skipped or also loaded to the collection. XML files can be converted to JSON before loading to the SODA collection.
Parent topic: Managing SODA Collections
3.15.2 Creating a SODA Collection
Use SQL Workshop to load documents to a new SODA collection.
To load documents to a new SODA collection:
Parent topic: Managing SODA Collections
3.15.3 Viewing a SODA Collection
Access existing SODA collections in Object Browser.
To access existing SODA collections:
Parent topic: Managing SODA Collections
3.15.4 Editing or Dropping a SODA Collection
View a SODA collection in Object Browser, then use the Load Data to upload a new version of the data or click the Drop button to remove the SODA collection from the workspace.
To view a SODA collection in Object Browser:
To change a SODA collection:
To drop a SODA collection:
Parent topic: Managing SODA Collections