• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • TokyoTyrantQuery::setLimit()

    (PECL tokyo_tyrant >= 0.1.0)

    Limit results

    说明

    publicTokyoTyrantQuery::setLimit([int $max[,int $skip]]): mixed

    Set the maximum amount of records to return on a query.

    参数

    $max

    Maximum amount of records. Default:-1

    $skip

    How many records to skip from the start. Default:-1

    返回值

    This method returns the current object and throws TokyoTyrantException on failure.