Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
PHP CI_DB_active_record::truncate示例
编程语言:
PHP
类/类型:
CI_DB_active_record
方法/功能:
truncate
hotexamples.com的示例:
1
PHP CI_DB_active_record::truncate - 已找到1个示例
。这些是从开源项目中提取的最受好评的
CI_DB_active_record::truncate
来自程序包 68kb现实PHP示例。您可以评价示例,以帮助我们提高示例质量。
常用方法
显示
隐藏
select(9)
order_by(9)
join(7)
where(5)
insert(3)
affected_rows(3)
insert_id(2)
limit(2)
table_exists(2)
get(2)
from(2)
escape(2)
delete(2)
update(2)
set(1)
truncate(1)
trans_rollback(1)
_error_message(1)
list_fields(1)
select_sum(1)
select_min(1)
select_max(1)
query(1)
_like(1)
count_all_results(1)
_where(1)
where_in(1)
常用方法
select (9)
order_by (9)
join (7)
where (5)
insert (3)
affected_rows (3)
insert_id (2)
limit (2)
table_exists (2)
get (2)
常用方法
from (2)
escape (2)
delete (2)
update (2)
set (1)
truncate (1)
trans_rollback (1)
_error_message (1)
list_fields (1)
select_sum (1)
select_min (1)
select_max (1)
query (1)
_like (1)
count_all_results (1)
_where (1)
where_in (1)
常用方法
select_min (1)
select_max (1)
query (1)
_like (1)
count_all_results (1)
_where (1)
where_in (1)
truncate()
public
method
Compiles a truncate string and runs the query If the database does not support the truncate() command This function maps to "DELETE FROM table"
public
truncate
(
$table
= '' ) :
object
return
object
CI_DB_active_record Class Documentation
示例#1
0
显示文件
文件:
DB.php
项目:
wiserweb/OpenVBX
protected function _flush() { $this->_db->truncate($this->_table); }