pub unsafe extern "C" fn dpiSodaColl_createIndex(
coll: *mut dpiSodaColl,
indexSpec: *const c_char,
indexSpecLength: u32,
flags: u32,
) -> c_intExpand description
Create an index on the collection, which can improve the performance of SODA query-by-examples (QBE). An index is defined by a specification, which is a JSON-encoded string that specifies how particular QBE patterns are to be indexed for quicker matching. See Overview of SODA indexing.
The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.