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
Cml
Db
MongoDB
MongoDB
truncate
Cml\Db\MongoDB\MongoDB::truncate PHP Method
MongoDB Class Documentation
Show file
Open project: linhecheng/cmlphp
truncate()
public
method
清空集合 这个操作太危险所以直接屏蔽了
public
truncate
(
string
$tableName
) :
boolean
$tableName
string
要清空的表名
return
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