Mysqli

package php.db

Available on php

See also:

Static methods

staticpoll(read:Ref<NativeArray>, error:Ref<NativeArray>, reject:Ref<NativeArray>, sec:Int, ?usec:Int):Int

Constructor

new(?host:String, ?username:String, ?passwd:String, dbname:String = "", ?port:Int, ?socket:String)

Variables

read onlyaffected_rows:Int

read onlyclient_info:String

read onlyclient_version:Int

read onlyconnect_errno:Int

read onlyconnect_error:String

read onlyerrno:Int

read onlyerror:String

read onlyerror_list:NativeAssocArray<Scalar>

read onlyfield_count:Int

read onlyhost_info:String

read onlyinfo:String

read onlyinsert_id:EitherType<Int, String>

read onlyprotocol_version:String

read onlyserver_info:String

read onlyserver_version:Int

read onlysqlstate:String

read onlythread_id:Int

read onlywarning_count:Int

Methods

autocommit(mode:Bool):Bool

begin_transaction(?flags:Int, ?name:String):Bool

change_user(user:String, password:String, database:String):Bool

character_set_name():String

close():Bool

commit(?flags:Int, ?name:String):Bool

debug(message:String):Bool

dump_debug_info():Bool

escape_string(escapestr:String):String

get_charset():{state:Int, number:Int, min_length:Int, dir:String, collation:String, charset:String}

get_client_info():String

get_connection_stats():Bool

get_warnings():Mysqli_warning

init():Mysqli

kill(processid:Int):Bool

more_results():Bool

multi_query(query:String):Bool

next_result():Bool

options(option:Int, value:Scalar):Bool

ping():Bool

prepare(query:String):Mysqli_stmt

query(query:String, ?resultmode:Int):EitherType<Bool, Mysqli_result>

real_connect(?host:String, ?username:String, ?passwd:String, ?dbname:String, ?port:Int, ?socket:String, ?flags:Int):Bool

real_query(query:String):Bool

reap_async_query():Mysqli_result

refresh(options:Int):Bool

rollback(?flags:Int, ?name:String):Bool

rpl_query_type(query:String):Int

select_db(dbname:String):Bool

send_query(query:String):Bool

set_charset(charset:String):Bool

set_local_infile_handler(read_func:Function):Bool

ssl_set(key:String, cert:String, ca:String, capath:String, cipher:String):Bool

stat():String

stmt_init():Mysqli_stmt

store_result(?option:Int):Mysqli_result

use_result():Mysqli_result

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/php/db/Mysqli.html