Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cml
Db
MongoDB
MongoDB
truncate
Cml\Db\MongoDB\MongoDB::truncate PHP 메소드
MongoDB 1 문서
파일 보기
프로젝트 열기: linhecheng/cmlphp
truncate()
공개
메소드
清空集合 这个操作太危险所以直接屏蔽了
public
truncate
(
string
$tableName
) :
boolean
$tableName
string
要清空的表名
리턴
boolean
| $this
public function truncate($tableName) { return $this; }
MongoDB
__construct
__destruct
__get
_and
_or
affectedRows
aggregation
avg
buildSql
callProcedure
close
columns
commit
conditionFactory
connect
count
debugLogSql
decrement
delete
get
getAllTableStatus
getDbFields
getDbName
getMaster
getMongoDbAutoIncKey
getPk
getRealTableName
getSlave
getTables
groupBy
having
increment
insertId
join
lBrackets
leftJoin
limit
logNotSupportMethod
max
min
mongoDbAggregate
mongoDbDistinct
orderBy
parseKey
rBrackets
reset
rightJoin
rollBack
runMongoBulkWrite
runMongoCommand
runMongoQuery
savePoint
select
serverSupportFeature
set
startTransAction
sum
truncate
union
update
version
whereLike
whereNotLike