Methods | ||
---|---|---|
public
|
__construct(
?string $hostname = null,
?string $username = null,
?string $password = null,
?string $database = null,
?int $port = null,
?string $socket = null,
)
|
# |
public
|
autocommit(bool $enable): bool
|
# |
public
|
begin_transaction(int $flags = 0, ?string $name = null): bool
|
# |
public
|
change_user(string $username, string $password, ?string $database): bool
|
# |
public
|
character_set_name(): string
|
# |
public
|
close(): bool
|
# |
public
|
commit(int $flags = 0, ?string $name = null): bool
|
# |
public
|
connect(
?string $hostname = null,
?string $username = null,
?string $password = null,
?string $database = null,
?int $port = null,
?string $socket = null,
): bool|null
|
# |
public
|
dump_debug_info(): bool
|
# |
public
|
debug(string $options): bool
|
# |
public
|
get_charset(): object|null
|
# |
public
|
execute_query(string $query, ?array $params = null): mysqli_result|bool
|
# |
public
|
get_client_info(): string
Deprecated8.1.0 |
# |
public
|
get_connection_stats(): array
|
# |
public
|
get_server_info(): string
|
# |
public
|
get_warnings(): mysqli_warning|false
|
# |
public
|
init(): null|false
|
# |
public
|
kill(int $process_id): bool
|
# |
public
|
multi_query(string $query): bool
|
# |
public
|
more_results(): bool
|
# |
public
|
next_result(): bool
|
# |
public
|
ping(): bool
|
# |
public
static
|
poll(?array &$read, ?array &$error, array &$reject, int $seconds, int $microseconds = 0): int|false
|
# |
public
|
prepare(string $query): mysqli_stmt|false
|
# |
public
|
query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool
|
# |
public
|
real_connect(
?string $hostname = null,
?string $username = null,
?string $password = null,
?string $database = null,
?int $port = null,
?string $socket = null,
int $flags = 0,
): bool
|
# |
public
|
real_escape_string(string $string): string
|
# |
public
|
reap_async_query(): mysqli_result|bool
|
# |
public
|
escape_string(string $string): string
|
# |
public
|
real_query(string $query): bool
|
# |
public
|
release_savepoint(string $name): bool
|
# |
public
|
rollback(int $flags = 0, ?string $name = null): bool
|
# |
public
|
savepoint(string $name): bool
|
# |
public
|
select_db(string $database): bool
|
# |
public
|
set_charset(string $charset): bool
|
# |
public
|
options(int $option, string|int $value): bool
|
# |
public
|
set_opt(int $option, string|int $value): bool
|
# |
public
|
ssl_set(?string $key, ?string $certificate, ?string $ca_certificate, ?string $ca_path, ?string $cipher_algos): bool
|
# |
public
|
stat(): string|false
|
# |
public
|
stmt_init(): mysqli_stmt|false
|
# |
public
|
store_result(int $mode = 0): mysqli_result|false
|
# |
public
|
thread_safe(): bool
|
# |
public
|
use_result(): mysqli_result|false
|
# |
public
|
refresh(int $flags): bool
|
# |