class MYSQL { client_flag; connector_fd; db; field_alloc; field_count; fields; free_me; host; host_info; info; options; packet_length; passwd; port; protocol_version; reconnect; server_capabilities; server_language; server_status; server_version; thread_id; unix_socket; user; }
These methods are either wrapped MySQL functions, or they are unique to Gamma. The methods unique to Gamma are linked to the reference page in this manual. The methods that correspond to a MySQL function are linked to that reference page in the MySQL documenatation in the HTML version of this book.
add_column (tablename, column, type, default_val, allow_null) |
change_user (user, password, db) |
character_set_name () |
class_from_table (symclassname, superclass, tablename) |
classes_from_tables (superclass, verbose?=nil) |
close () |
connect (host, user, password) |
create_db (db) |
create_table (tablename) |
delete (row) |
drop_db (db) |
drop_table (tablename) |
dump_debug_info () |
errno () |
error () |
field_count () |
get_host_info () |
get_proto_info () |
get_server_info () |
info () |
init () |
insert (row) |
insert_id () |
kill (pid) |
list_dbs (wild) |
list_fields (table, wild) |
list_processes (wild) |
list_tables (wild) |
ping () |
query (q) |
query_and_store (query_string) |
query_to_class (klass, query_string) |
query_to_temp_class (superclass, query) |
real_connect (host, user, passwd, port, unix_socket, clientflag) |
real_escape_string (to, from, length) |
real_query (q, length) |
requery (row) |
select_db (db) |
shutdown () |
stat () |
store_result () |
thread_id () |
update (row) |
use_result () |
These functions are either wrapped MySQL functions, or they are unique to Gamma. The functions unique to Gamma are linked to the reference page in this manual. The functions that correspond to a MySQL function are linked to that reference page in the MySQL documenatation in the HTML version of this book.
my_init () |
mysql_class_from_fields (symclassname, superclass, fields) |
mysql_debug (debug) |
mysql_eof (res) |
mysql_escape_string (to, from, from_length) |
mysql_fetch_field (result) |
mysql_fetch_field_direct (res, fieldnr) |
mysql_fetch_fields (res) |
mysql_field_seek (result, offset) |
mysql_field_tell (res) |
mysql_free_result (MYSQL_RES) |
mysql_get_client_info () |
mysql_map_class (class, fields, data) |
mysql_num_fields (res) |
mysql_pretty_print (file, res) |
mysql_row_seek (result, MYSQL_ROWS) |
mysql_row_tell (res) |
mysql_thread_safe () |
mysql_value_string (value) |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.