AbstractAbstractmetaMetadata for the collection. The metadata will conform to the JSON object layout specified in the Oracle Database "SODA Collection Metadata Components (Reference)" documentation.
AbstractnameName of the collection.
AbstractcreateCreates an index on a SODA collection to improve the performance of SODA query-by-examples (QBE) or to enable text searches. Different index types can be created as long as the indexSpec parameter conforms to the JSON object layout specified in the Oracle Database "SODA Index Specifications (Reference)" documentation.
index specification, see "SODA Index Specifications (Reference)"
AbstractdropDrops the current collection.
a DropResult containing a dropped value of true if the drop operation succeeded or false if the collection does not exist.
AbstractdropDrops the specified index.
the name of the index to drop
Optionaloptions: IDropIndexOptionsan optional force flag may be specified
a DropIndexResult containing a dropped value of true if the drop index operation succeeded or false if the index doesn't exist.
AbstractfindLocates and orders a set of SODA documents for retrieval, replacement, or removal with non-terminal and terminal methods, see SodaOperation for details.
a SodaOperation object which is used via method chaining
AbstractgetInfers the schema of a collection of JSON documents. The data guide is represented as JSON content in a SodaDocument.
a new SodaDocument containing the inferred schema.
AbstractinsertInserts an array of Objects or SodaDocuments into the collection.
an array of Objects or SodaDocuments to be inserted into the collection.
AbstractinsertInserts an array of Objects or SodaDocuuments into the collection and returns the documents which contain all SodaDocument components except for content, for performance reasons.
an array of Objects or SodaDocuments to be inserted into the collection.
an array of inserted SodaDocuments.
AbstractinsertInserts a given document to the collection. The input document can be either a JavaScript object representing the data content, or it can be an existing SodaDocument.
an Object or SodaDocument to insert into the collection.
AbstractinsertInserts a document in a collection and returns the result document that contains all SodaDocument components except for content, for performance reasons.
the Object or SodaDoc to insert into the collection.
the inserted SodaDocument.
AbstractsaveThis method behaves like sodaCollection.insertOne() with the exception that if a document with the same key already exists, then it is updated instead. The collection must use client-assigned keys, which is why save() accepts only a SodaDocument, unlike insertOne(). If the collection is not configured with client-assigned keys, then the behavior is exactly the same as sodaCollection.insertOne().
the document to save.
AbstractsaveThis method behaves like sodaCollection.insertOneAndGet() with the exception that if a document with the same key already exists, then it is updated instead. The collection must use client-assigned keys, which is why saveAndGet() accepts only a SodaDocument, unlike insertOneAndGet(). If the collection is not configured with client-assigned keys, then the behavior is exactly the same as sodaCollection.insertOneAndGet().
the document to save.
the saved document.
AbstracttruncateThis method truncates a collection, removing all documents. The collection will not be deleted.
SODA collection class. A SODA collection is a set of SodaDocuments.
See
https://github.com/oracle/node-oracledb/blob/v5.0.0/doc/api.md#sodacollectionclass