Index
Modules:
nimodbclite
,
nimodbclite/odbc
.
API symbols
exec:
nimodbclite: proc exec(conn: OdbcConnection; query: string): int64
listOdbcDrivers:
nimodbclite: proc listOdbcDrivers(): seq[OdbcDriverInfo]
newOdbcConnection:
nimodbclite: proc newOdbcConnection(connectionString: string): OdbcConnection
OdbcConnection:
nimodbclite: type OdbcConnection
OdbcConnectionObj:
nimodbclite: object OdbcConnectionObj
OdbcDriverInfo:
nimodbclite: object OdbcDriverInfo
OdbcException:
nimodbclite: object OdbcException
query:
nimodbclite: proc query(conn: OdbcConnection; query: string): ResultSet
queryJson:
nimodbclite: proc queryJson(conn: OdbcConnection; query: string): seq[JsonNode]
ResultSet:
nimodbclite: object ResultSet
SQLAllocHandle:
odbc: proc SQLAllocHandle(HandleType: SqlHandleType; InputHandle: SqlHandle; OutputHandle: ptr SqlHandle): SqlReturn
SqlChar:
odbc: type SqlChar
SqlColumn:
nimodbclite: object SqlColumn
SqlCType:
odbc: enum SqlCType
SqlDataType:
odbc: enum SqlDataType
SQLDescribeCol:
odbc: proc SQLDescribeCol(StatementHandle: SqlHStmt; ColumnNumber: SqlUSmallInt; ColumnName: ptr SqlChar; BufferLength: SqlSmallInt; NameLength: ptr SqlSmallInt; DataType: ptr SqlSmallInt; ColumnSize: ptr SqlULen; DecimalDigits: ptr SqlSmallInt; Nullable: ptr SqlSmallInt): SqlReturn
SQLDisconnect:
odbc: proc SQLDisconnect(ConnectionHandle: SqlHDbc): SqlReturn
SqlDouble:
odbc: type SqlDouble
SqlDriverCompletion:
odbc: enum SqlDriverCompletion
SQLDriverConnect:
odbc: proc SQLDriverConnect(ConnectionHandle: SqlHDbc; WindowHandle: SqlHandle; InConnectionString: ptr SqlChar; StringLength1: SqlSmallInt; OutConnectionString: ptr SqlChar; BufferLength: SqlSmallInt; StringLength2Ptr: ptr SqlSmallInt; DriverCompletion: SqlDriverCompletion): SqlReturn
SQLDrivers:
odbc: proc SQLDrivers(EnvironmentHandle: SqlHEnv; Direction: SqlUSmallInt; DriverDescription: ptr SqlChar; BufferLength1: SqlSmallInt; DescriptionLengthPtr: ptr SqlSmallInt; DriverAttributes: ptr SqlChar; BufferLength2: SqlSmallInt; AttributesLengthPtr: ptr SqlSmallInt): SqlReturn
SqlEnvAttr:
odbc: enum SqlEnvAttr
SQLExecDirect:
odbc: proc SQLExecDirect(StatementHandle: SqlHStmt; StatementText: ptr SqlChar; TextLength: SqlInt): SqlReturn
SQLFetch:
odbc: proc SQLFetch(StatementHandle: SqlHStmt): SqlReturn
SQL_FETCH_FIRST:
odbc: const SQL_FETCH_FIRST
SQL_FETCH_NEXT:
odbc: const SQL_FETCH_NEXT
SqlFloat:
odbc: type SqlFloat
SQLFreeHandle:
odbc: proc SQLFreeHandle(HandleType: SqlHandleType; Handle: SqlHandle): SqlReturn
SQLGetData:
odbc: proc SQLGetData(StatementHandle: SqlHStmt; ColumnNumber: SqlUSmallInt; TargetType: SqlCType; TargetValue: SqlPointer; BufferLength: SqlLen; StrLen_or_Ind: ptr SqlLen): SqlReturn
SQLGetDiagRec:
odbc: proc SQLGetDiagRec(HandleType: SqlHandleType; Handle: SqlHandle; RecNumber: SqlSmallInt; Sqlstate: ptr SqlChar; NativeError: ptr SqlInt; MessageText: ptr SqlChar; BufferLength: SqlSmallInt; TextLength: ptr SqlSmallInt): SqlReturn
SqlHandle:
odbc: type SqlHandle
SqlHandleType:
odbc: enum SqlHandleType
SqlHDbc:
odbc: type SqlHDbc
SqlHEnv:
odbc: type SqlHEnv
SqlHStmt:
odbc: type SqlHStmt
SqlInt:
odbc: type SqlInt
SqlLen:
odbc: type SqlLen
SQL_MAX_MESSAGE_LENGTH:
odbc: const SQL_MAX_MESSAGE_LENGTH
SQL_NTS:
odbc: const SQL_NTS
SQL_NULL_DATA:
odbc: const SQL_NULL_DATA
SQLNumResultCols:
odbc: proc SQLNumResultCols(StatementHandle: SqlHStmt; ColumnCount: ptr SqlSmallInt): SqlReturn
SqlOdbcVersion:
odbc: enum SqlOdbcVersion
SqlPointer:
odbc: type SqlPointer
SqlReal:
odbc: type SqlReal
SqlReturn:
odbc: enum SqlReturn
SQLRowCount:
odbc: proc SQLRowCount(StatementHandle: SqlHStmt; RowCount: ptr SqlLen): SqlReturn
SqlSChar:
odbc: type SqlSChar
SQLSetEnvAttr:
odbc: proc SQLSetEnvAttr(EnvironmentHandle: SqlHEnv; Attribute: SqlEnvAttr; Value: SqlPointer; StringLength: SqlInt): SqlReturn
SqlSmallInt:
odbc: type SqlSmallInt
SqlUInt:
odbc: type SqlUInt
SqlULen:
odbc: type SqlULen
SqlUSmallInt:
odbc: type SqlUSmallInt