mysql_xdevapi\TableDelete
PHP Manual

TableDelete::offset

(No version information available, might only be in Git)

TableDelete::offsetSet delete limit offset

说明

public mysql_xdevapi\TableDelete mysql_xdevapi\TableDelete::offset ( integer $position )

Sets the limit offset.

参数

position

The limit offset.

返回值

A TableDelete object.

范例

Example #1 mysql_xdevapi\TableDelete::offset() example

<?php

$table
->delete()->where('age = 17')->orderby('name desc')->limit(3)->offset(0)->execute();

?>

mysql_xdevapi\TableDelete
PHP Manual