pub unsafe extern "C" fn dpiSodaDb_createJsonDocument(
db: *mut dpiSodaDb,
key: *const c_char,
keyLength: u32,
content: *const dpiJsonNode,
flags: u32,
doc: *mut *mut dpiSodaDoc,
) -> c_intExpand description
Creates a SODA document that can later be inserted into a collection or used to replace an existing document in a collection. This method should be used when the content is JSON and Oracle Client 23 or higher is being used.
The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.