AbstractAbstractcreateCreates a SODA collection of the given name. If a collection with the same name already exists, then that existing collection is opened without error.
name of the collection to be created.
Optionaloptions: ICreateCollectionOptionsthe options that specify the collection, see CreateCollectionOptions.
a new SodaCollection object.
AbstractcreateConstructs a proto SodaDocument object usable for SODA insert and replace methods. SodaDocument attributes like createdOn will not be defined, and neither will attributes valid in options but not specified. The document will not be stored in the database until an insert or replace method is called.
the document content.
Optionaloptions: ICreateDocumentOptionsthe options that specify the document, see CreateDocumentOptions.
a new SodaDocument object.
AbstractgetGets an array of collection names in alphabetical order. Returns names that start with the given string, and all subsequent names, in alphabetic order.
Optionaloptions: IGetCollectionNameOptionssee GetCollectionNameOptions.
an array of matching collection names.
AbstractopenOpens an existing SodaCollection of the given name. The collection can then be used to access documents.
the name of the collection to open.
a new SodaCollection object if the collection exists. If the requested collection does not exist undefined will be returned.
SODA database access class. SodaDatabase is the top level object for SODA operations. A 'SODA database' is an abstraction, allowing access to SODA collections in that 'SODA database', which then allow access to documents in those collections.
See
https://github.com/oracle/node-oracledb/blob/v5.0.0/doc/api.md#sodadatabaseclass