Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Habari
DB
exec
Habari\DB::exec PHP Method
DB Class Documentation
Show file
Open project: habari/system
exec()
public
static
method
WARNING: Make sure you don't call this with a SELECT statement. PDO will buffer the results and leave your cursor dangling.
public
static
exec
(
string
$query
) :
boolean
$query
string
the query to run
return
boolean
true on success, false on error
public static function exec($query) { return DB::instance()->connection->exec($query); }
DB
add_error
begin_transaction
clear_errors
commit
connect
dbdelta
delete
disconnect
exec
execute_procedure
exists
get_column
get_driver_name
get_driver_version
get_errors
get_keyvalue
get_last_error
get_profiles
get_results
get_row
get_value
has_errors
in_transaction
insert
instance
is_connected
last_insert_id
list_tables
query
quote
register_table
rollback
row_count
set_fetch_class
set_fetch_mode
table
update
upgrade
upgrade_post
upgrade_pre