Database
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "MYSQL" , cprefix = "mysql_" , free_function = "mysql_close" ) ]
public class Database
[ CCode ( cname = "MYSQL" , cprefix = "mysql_" , free_function = "mysql_close" ) ]
public class Database
Namespace: Mysql
Package: mysql
Content:
Creation methods:
- public Database (Database? mysql = null)
Methods:
- public ulong affected_rows ()
- public bool autocommit (bool mode)
- public bool change_user (string username, string passwd, string? dbname = null)
- public unowned string character_set_name ()
- public bool commit ()
- public int dump_debug_info ()
- public uint errno ()
- public unowned string error ()
- public unowned string get_host_info ()
- public uint get_proto_info ()
- public unowned string get_server_info ()
- public ulong get_server_version ()
- public unowned string get_ssl_cipher ()
- public unowned string info ()
- public ulong insert_id ()
- public int kill (ulong pid)
- public Result? list_dbs (string? wild = null)
- public Result? list_fields (string table, string? wild = null)
- public Result? list_processes ()
- public Result? list_tables (string? wild = null)
- public bool more_results ()
- public int next_result ()
- public int options (Option option, string arg)
- public int ping ()
- public int query (string stmt_str)
- public bool real_connect (string? host = null, string? username = null, string? passwd = null, string? dbname = null, uint port = 0, string? unix_socket = null, ClientFlag client_flag = 0)
- public ulong real_escape_string (string to, string from, ulong length)
- public int real_query (string query, ulong len)
- public int reload ()
- public bool rollback ()
- public int select_db (string dbname)
- public int set_character_set (string csname)
- public void set_local_infile_default ()
- public int set_server_option (SetOption option)
- public int shutdown (int shutdown_level)
- public unowned string sqlstate ()
- public bool ssl_set (string key, string cert, string ca, string capath, string cipher)
- public unowned string stat ()
- public Result? store_result ()
- public ulong thread_id ()
- public Result? use_result ()
- public uint warning_count ()