maxdb_multi_query

(PECL maxdb >= 1.0) Performs a query on the database bool maxdb_multi_query ( resource $link, string $query ) Procedural style Object oriented style bool maxdb::multi_query ( string $query ) The maxdb_multi_query() works like the function maxdb_query(). Multiple queries are not yet supported. Returns: Returns TRUE on success or FALSE on failure.

maxdb_more_results

(PECL maxdb >= 1.0) Check if there any more query results from a multi query bool maxdb_more_results ( resource $link ) maxdb_more_results() indicates if one or more result sets are available from a previous call to maxdb_multi_query(). Returns: Always FALSE. See also: maxdb_multi_query() -

maxdb_master_query

(PECL maxdb >= 1.0) Enforce execution of a query on the master in a master/slave setup bool maxdb_master_query ( resource $link, string $query ) This function is currently not documented; only its argument list is available.

maxdb_kill

(PECL maxdb >= 1.0) Disconnects from a MaxDB server bool maxdb_kill ( resource $link, int $processid ) Procedural style Object oriented style bool maxdb::kill ( int $processid ) This function is used to disconnect from a MaxDB server specified by the processid parameter. Returns: Returns TRUE on success or FALSE on failure. Examples:

maxdb_insert_id

(PECL maxdb >= 1.0) Returns the auto generated id used in the last query mixed maxdb_insert_id ( resource $link ) Procedural style Object oriented style mixed $maxdb->insert_id; The maxdb_insert_id() function returns the ID generated by a query on a table with a column having the DEFAULT SERIAL attribute. If the last query wasn't an INSERT or UPDATE statement or if the modified table does not have a column with the DE

maxdb_init

(PECL maxdb >= 1.0) Initializes MaxDB and returns an resource for use with maxdb_real_connect resource maxdb_init ( void ) Allocates or initializes a MaxDB resource suitable for maxdb_options() and maxdb_real_connect(). Note: Any subsequent calls to any maxdb function (except maxdb_options()) will fail until maxdb_real_connect() was called. Returns: Returns an resource.

maxdb_info

(PECL maxdb >= 1.0) Retrieves information about the most recently executed query string maxdb_info ( resource $link ) Procedural style Object oriented style string $maxdb->info; The maxdb_info() function returns a string providing information about the last query executed. The nature of this string is provided below: Possible maxdb_info return values Query type Example result string INSERT INTO...SELECT... Records: 1

maxdb_get_server_version

(PECL maxdb >= 1.0) Returns the version of the MaxDB server as an integer int maxdb_get_server_version ( resource $link ) Procedural style Object oriented style int $maxdb->server_version; The maxdb_get_server_version() function returns the version of the server connected to (represented by the link parameter) as an integer. The form of this version number is main_version * 10000 + minor_version * 100 + sub_version

maxdb_get_server_info

(PECL maxdb >= 1.0) Returns the version of the MaxDB server string maxdb_get_server_info ( resource $link ) Procedural style Object oriented style string $maxdb->server_info; Returns a string representing the version of the MaxDB server that the MaxDB extension is connected to (represented by the link parameter). Returns: A character string representing the server version.

maxdb_get_proto_info

(PECL maxdb >= 1.0) Returns the version of the MaxDB protocol used int maxdb_get_proto_info ( resource $link ) Procedural style Object oriented style string $maxdb->protocol_version; Returns an integer representing the MaxDB protocol version used by the connection represented by the link parameter. Returns: Returns an integer representing the protocol version (constant 10).