Static
LOB_Constant for read-only mode.
Static
LOB_Constant for read/write mode.
When creating the table, you can specify the chunking factor, a multiple of tablespace blocks in bytes. This corresponds to the chunk size used by the BLOB data layer when accessing or modifying the BLOB value. Part of the chunk is used to store system-related information, and the rest stores the BLOB value. This method returns the amount of space used in the BLOB chunk to store the BLOB value.
Rest
...args: any[]This method reads a piece of a BLOB, and returns the specified amount into the buffer parameter, starting from an absolute offset from the beginning of the BLOB. If the input offset points past the End of BLOB, a NO_DATA_FOUND exception is raised.
a Uint8Array that contains the bytes actually read.
Number of bytes to read.
Offset in bytes from the start of the BLOB (origin: 1).
This method writes data into an internal BLOB, starting from an absolute offset from the beginning of the BLOB. The data is written from the buffer parameter. WRITE replaces (overwrites) any data that already exists in the BLOB at the offset.
Offset in bytes from the start of the BLOB (origin: 1) for the write operation.
Data to write.
Static
compareThis method compares two entire BLOBs or parts of two BLOBs.
0 if the compared portions are equal, non-zero if not
Error if offset1 or offset2 is not a valid BLOB offset value.
First target for comparison.
Second target for comparison.
Optional
optArgs: CompareOptionalArgumentsOptional arguments that specify amount and offsets.
Static
createThis constructor creates a temporary BLOB and its corresponding index in your default temporary tablespace. The temporary BLOB is created with SESSION duration.
Specified if BLOB should be read into buffer cache or not.
JavaScript API for Oracle type Binary Large Object (BLOB).