Idris2Doc : Oracle.FFI.Statement

Oracle.FFI.Statement

(source)

Definitions

prim__prepareStmt : AnyPtr->String->PrimIOAnyPtr
  Prepare 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->PrimIOInt32
  Execute a prepared statement.

Returns:
* 0 on success.
* non-zero on failure.
prim__fetch : AnyPtr->PrimIOInt32
  Fetch 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->PrimIOInt32
  Retrieve the number of columns in the statement result set.
prim__columnValue : AnyPtr->Int32->PrimIOAnyPtr
  Retrieve 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.