prim__prepareStmt : AnyPtr -> String -> PrimIO AnyPtrPrepare a SQL statement.
Parameters:
* Oracle connection handle
* SQL text
Returns:
* Raw dpiStmt pointer
* NULL on failure
prim__releaseStmt : AnyPtr -> PrimIO ()Release a previously prepared statement.
This ultimately calls dpiStmt_release().
prim__executeStmt : AnyPtr -> PrimIO Int32Execute a prepared statement.
Returns:
* 0 on success.
* non-zero on failure.
prim__fetch : AnyPtr -> PrimIO Int32Fetch the next row from a query result.
Returns:
* 1 if a row was fetched.
* 0 if no rows remain.
* negative value on error.
prim__columnCount : AnyPtr -> PrimIO Int32Retrieve the number of columns in the statement result set.
prim__columnValue : AnyPtr -> Int32 -> PrimIO AnyPtrRetrieve the current row value for a column.
This interface is not sufficient for a production-quality Oracle driver.
Oracle values should be marshalled through type-specific accessors instead.