CI_DB_query_builder::limit()

limit($value[, $offset = 0])

Parameters:
  • $value (int) – Number of rows to limit the results to
  • $offset (int) – Number of rows to skip
Returns:

CI_DB_query_builder instance (method chaining)

Return type:

CI_DB_query_builder

Adds LIMIT and OFFSET clauses to a query.

doc_CodeIgniter
2016-10-15 16:31:17
Comments
Leave a Comment

Please login to continue.