SODA document class. SodaDocuments represents the document for SODA read and write operations.

See

https://github.com/oracle/node-oracledb/blob/v5.0.0/doc/api.md#sodadocumentclass

Hierarchy

  • ISodaDocument

Properties

createdOn: string

The creation time of the document as a string in the UTC time zone using an ISO8601 format. By default, SODA sets this automatically.

key: string

A unique key value for this document. By default, SODA automatically generates the key.

lastModified: string

Last modified time of the document as a string in the UTC time zone using an ISO8601 format. By default, SODA sets this automatically.

mediaType: string

An arbitrary string value designating the content media type. The recommendation when creating documents is to use a MIME type for the media type. By default this property will be 'application/json'.

version: string

Version of the document. By default, SODA automatically updates the version each time the document is changed.

Methods