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
Interfaces
Db
paginate
Cml\Interfaces\Db::paginate PHP Method
Db Interface Documentation
Show file
Open project: linhecheng/cmlphp
paginate()
public
method
分页获取数据
public
paginate
(
integer
$limit
,
boolean
$useMaster
= false ) :
array
$limit
integer
每页返回的条数
$useMaster
boolean
是否使用主库 默认读取从库
return
array
public function paginate($limit, $useMaster = false);
Db
__construct
__destruct
_and
_or
affectedRows
avg
buildSql
callProcedure
chunk
columns
commit
conditionFactory
connect
count
decrement
delete
get
getAllTableStatus
getDbFields
getOne
getOneValue
getPk
getTables
groupBy
having
increment
insertId
join
lBrackets
leftJoin
limit
max
min
orderBy
paginate
plunk
rBrackets
rightJoin
rollBack
savePoint
select
set
startTransAction
sum
table
truncate
union
update
version
where
whereBetween
whereGt
whereGte
whereIn
whereLike
whereLt
whereLte
whereNot
whereNotBetween
whereNotIn
whereNotLike
whereNotNull
whereNull
whereRegExp