Mimer SQL C API Reference

The following routines are included in the Mimer API:

Routine

Description

Micro API compatible

MimerAddBatch

Add currently set parameters to statement.

Yes

MimerBeginSession

Starts a session with the database. (wchar_t version.)

Yes

MimerBeginSession8

Starts a session with the database. (UTF-8 version.)

 

MimerBeginSessionC

Starts a session with the database. (char version.)

Yes

MimerBeginStatement

Prepares a statement for execution. (wchar_t version.)

Yes

MimerBeginStatement8

Prepares a statement for execution. (UTF-8 version.)

 

MimerBeginStatementC

Prepares a statement for execution. (char version.)

Yes

MimerBeginTransaction

Starts a transaction.

 

MimerCloseCursor

Closes an open cursor.

Yes

MimerColumnCount

Obtains the number of columns in a result set.

 

MimerColumnName

Obtains the name of a column. (wchar_t version.)

 

MimerColumnName8

Obtains the name of a column. (UTF-8 version.)

 

MimerColumnNameC

Obtains the name of a column. (char version.)

 

MimerColumnType

Returns the type of a column.

 

MimerCurrentRow

Returns the current row of a result set.

 

MimerEndSession

Ends a database session.

Yes

MimerEndStatement

Closes a prepared statement.

Yes

MimerEndTransaction

Commits or rollbacks a transaction.

 

MimerExecute

Executes a statement that does not return a result set.

Yes

MimerExecuteStatement

Executes a statement directly without parameters. (wchar_t version.)

Yes

MimerExecuteStatement8

Executes a statement directly without parameters. (UTF-8 version.)

 

MimerExecuteStatementC

Executes a statement directly without parameters. (char version.)

Yes

MimerFetch

Advances to the next row of the result set.

Yes

MimerFetchScroll

Moves the current cursor position on a scrollable cursor.

 

MimerFetchSkip

Advances to the next row of the result set but optionally skips a number of rows in the result set.

Yes

MimerGetBinary

Gets binary data from a result set or an output parameter.

Yes

MimerGetBlobData

Retrieves the content of a binary large object.

 

MimerGetBoolean

Gets boolean data from a result set or an output parameter.

Yes

MimerGetDouble

Gets double precision float data from a result set or an output parameter.

Yes

MimerGetFloat

Gets single precision float data from a result set or an output parameter.

Yes

MimerGetInt32

Gets int32_t integer data from a result set or an output parameter.

Yes

MimerGetInt64

Gets int64_t integer (long long) data from a result set or an output parameter.

Yes

MimerGetLob

Obtains a large object handle.

 

MimerGetNclobData

Retrieves the contents of a character large object. (wchar_t version.)

 

MimerGetNclobData8

Retrieves the contents of a character large object. (UTF-8 version.)

 

MimerGetNclobDataC

Retrieves the contents of a character large object. (char version.)

 

MimerGetStatistics

Obtains server statistics information.

Yes

MimerGetString

Gets character data from a result set or an output parameter. (wchar_t version.)

Yes

MimerGetString8

Gets character data from a result set or an output parameter. (UTF-8 version.)

 

MimerGetStringC

Gets character data from a result set or an output parameter into a multi byte character string. (char version.)

Yes

MimerGetUUID

Gets a Universally unique identifier from a result set or output parameter.

Yes

MimerIsNull

Checks if a result set column or output parameter has the SQL null value.

Yes

MimerNext

Advances the current row to the next row, within the current array.

 

MimerOpenCursor

Opens a result set.

Yes

MimerParameterCount

Returns the number of parameters for a statement.

 

MimerParameterMode

Detects the input/output mode of a parameter.

 

MimerParameterName

Obtains the name of a parameter. (wchar_t version.)

 

MimerParameterName8

Obtains the name of a parameter. (UTF-8 version.)

 

MimerParameterNameC

Obtains the name of a parameter. (char version.)

 

MimerParameterType

Obtains the data type of a parameter.

 

MimerSetArraySize

Sets the number of bytes to fetch in each server request.

 

MimerSetBinary

Sets a binary data parameter.

Yes

MimerSetBlobData

Sets the data of a binary large object.

 

MimerSetBoolean

Sets a boolean data parameter.

Yes

MimerSetDouble

Sets a double precision floating point parameter.

Yes

MimerSetFloat

Sets a single precision floating point parameter.

Yes

MimerSetInt32

Sets an int32_t integer parameter.

Yes

MimerSetInt64

Sets an int64_t integer parameter.

Yes

MimerSetLob

Sets a large object in the database.

 

MimerSetNclobData

Sets the data of a character large object. (wchar_t version.)

 

MimerSetNclobData8

Sets the data of a character large object. (UTF-8 version.)

 

MimerSetNclobDataC

Sets the data of a character large object. (char version.)

 

MimerSetNull

Sets an input parameter to the SQL null value.

Yes

MimerSetString

Sets a string parameter. (wchar_t version.)

Yes

MimerSetString8

Sets a string parameter. (UTF-8 version.)

 

MimerSetStringC

Sets a string parameter. (char version.)

Yes

MimerSetStringLen

Sets a string parameter. (wchar_t version.)

 

MimerSetStringLen8

Sets a string parameter. (UTF-8 version.)

 

MimerSetStringLenC

Sets a string parameter. (char version.)

 

MimerSetUUID

Sets a Universally unique identifier parameter.

Yes