| Object specific | |
| $batchsize | The number of rows to retrieve simultaneously. Statement objects inherit this value. $batchsize is not supported by all databases in which case it reverts to 1 |
| $bytesreceived | The number of bytes received through the session object since logon. Assigning to this property resets the value to zero |
| $bytessent | The number of bytes sent through the session object since logon. Assigning to this property resets the value to zero |
| $clientflags | Flags that affect the behaviour of the connection |
| $codepage | The code page used to interpret non-Unicode character data. A kUniType... constant that identifies an 8 bit character set (not kUniTypeUTF8) kUniTypeAnsiArabic kUniTypeAnsiBaltic kUniTypeAnsiCentralEuropean kUniTypeAnsiCyrillic kUniTypeAnsiGreek kUniTypeAnsiHebrew kUniTypeAnsiLatin1 kUniTypeAnsiThai kUniTypeAnsiTurkish kUniTypeAnsiVietnamese kUniTypeAuto kUniTypeBinary kUniTypeCharacter kUniTypeISO8859_1 kUniTypeISO8859_10 kUniTypeISO8859_11 kUniTypeISO8859_13 kUniTypeISO8859_14 kUniTypeISO8859_15 kUniTypeISO8859_16 kUniTypeISO8859_2 kUniTypeISO8859_3 kUniTypeISO8859_4 kUniTypeISO8859_5 kUniTypeISO8859_6 kUniTypeISO8859_7 kUniTypeISO8859_8 kUniTypeISO8859_9 kUniTypeNativeCharacters kUniTypeOEM kUniTypeUTF16 kUniTypeUTF16BE kUniTypeUTF16LE kUniTypeUTF32 kUniTypeUTF32BE kUniTypeUTF32LE kUniTypeUTF8 |
| $commitdelay | The delay (in milliseconds) between each $commit() retry |
| $commitretries | The number of times a $commit() operation will retry before failing |
| $database | Name of the session database |
| $debugfile | If assigned, the DAM writes debug information to the specified file. Set $debuglevel to enable/disable logging |
| $debuglevel | Specifies the level of debug information that will be written to $debugfile. Values 1-4 specify increasing amounts of debug information. Zero disables logging |
| $debugsize | The maximum size of $debugfile generated before automatic truncation occurs. Assigning zero disables truncation |
| $defaultdateisempty | If kTrue, fetched datetimes matching $defaultdate are treated as empty values |
| $encoding | The Unicode encoding used by the database. A kSessionEncoding... constant (read-only) kSessionEncodingAnsi kSessionEncodingUtf16 kSessionEncodingUtf32 kSessionEncodingUtf8 |
| $fetch64bitints | If kTrue, 64-bit integers are fetched into Omnis 64-bit Integer fields. If kFalse, they are fetched as 32-bit Integers and truncated accordingly |
| $hostinfo | The type of connection in use, including the server host name |
| $logontimeout | Number of seconds before a connection attempt times out |
| $maxresultsetsize | The maximum size of a result set. Statement objects inherit this value. When a $fetch(kFetchAll) exceeds this value, the result set is trunacted and kFetchMemoryExceeded is returned |
| $odbpsk | Pre-Shared Key matching the value used by the MySQL databridge. The PSK must use 16 characters |
| $port | The port number for the TCP/IP connection |
| $protoversion | Version of the protocol in use |
| $quotedidentifier | If kTrue, table instances and session methods will generate quoted column & table name identifiers, thus preserving mixed-case names and names |
| $socket | The socket or named pipe that should be used for the connection |
| $sslcipher | The cipher being used for current SSL connection. (read-only) |
| $threadid | The thread ID of the current connection |
| $threadsafe | kTrue if the client library was compiled as thread-safe |
| $trackslowqueries | Queries running longer than the amount of seconds specified in this property will be reported as a slow running query to the trace log. Defaults to 0 (off) |
| $unicode | If kTrue, Unicode data types/mappings are used with character data. If kFalse, the DAM reverts to ANSI behaviour and the DAM will attempt to map any Unicode characters to the specified $codepage |
| $validateutf8 | If set to kTrue, received UTF-8 data is checked and assumed to be ANSI data on failure |
| Standard | $allowstransactions $apiversion $autobegintran $blobsize $charmap $commitmode $damname $defaultdate $emptydateisnull $errorcode $errortext $hostname $ident $lobchunksize $lobthreshold $maptable $name $nativeerrorcode $nativeerrorpending $nativeerrortext $password $rollbackmode $sessionobject $sessionobjref $sqldecimalseparator $sqlstripspaces $sqlthousandseparator $state $transactionmode $username $version |
| Object specific | |
| $changeuser | Changes the user and causes the specified database to become the default (current) database on the connection |
| $characterset | Returns the name of the default character set for the current connection |
| $connectoption | Used to set extra connect options and affect behaviour for a connection |
| $getdatatypemapping | Gets a data type mapping table in use by the session |
| $getoption | Returns the current value of the specified connect option |
| $getoptions | Returns a list of options assigned previously using $connectoption() |
| $insertid | Returns the ID of an AUTO_INCREMENT column generated by the most recently executed query |
| $newstatement | $newstatement([cStatementname]) Creates and returns a new dynamic instance of a statement object for the session; typically used to return a new statement object to an object variable with no subtype specified MYSQL statement object |
| $newstatementref | $newstatementref([cStatementname]) Creates and returns a new dynamic instance of a statement object for the session,to be used with an Object reference variable;typically used to return a new statement to an object reference variable MYSQL statement object |
| $ping | Checks whether the connection to the server is working. If it has gone down, an automatic reconnection is attempted |
| $query | Executes a SQL statement directly on the connection |
| $queryinfo | Information about the most recently executed query |
| $queryresult | Returns the result set generated by the last call to $query() |
| $serverdebuginfo | Instructs the server to write some debug information to the log |
| $servershutdown | Asks the database server to shut down |
| $serverstatus | Returns information about the database server's current status |
| $setdatatypemapping | Sets a new data type mapping table for the session |
| $sslset | Used for establishing secure connections using SSL |
| Standard | $begin $clear $coltext $commit $createnames $definelistorrow $insertnames $logoff $logon $makeschema $nextnativeerror $rollback $rpcdefine $selectnames $updatenames $wherenames |