Permalink
Browse files

database: added page()

  • Loading branch information...
dg committed Dec 12, 2018
1 parent 29ad855 commit 40fa8c2e539ad0173031a3043a1645c8186a07d0
Showing with 2 additions and 0 deletions.
  1. +1 −0 cs/database-explorer.texy
  2. +1 −0 en/database-explorer.texy
@@ -85,6 +85,7 @@ Podívejme se na možnosti filtrování a omezování výběru pomocí třídy [
| `$table->order($columns)` | Nastaví ORDER BY, může být výraz `('column DESC, id DESC')`
| `$table->select($columns)` | Nastaví vrácené sloupce, může být výraz `('col, MD5(col) AS hash')`
| `$table->limit($limit[, $offset])` | Nastaví LIMIT a OFFSET
| `$table->page($page, $itemsPerPage[, &$lastPage])` | Nastaví stránkování
| `$table->group($columns)` | Nastaví GROUP BY
| `$table->having($having)` | Nastaví HAVING

@@ -85,6 +85,7 @@ See possibilities how to filter and restrict rows [api:Nette\Database\Table\Sele
| `$table->order($columns)` | Set ORDER BY, can be expression `('column DESC, id DESC')`
| `$table->select($columns)` | Set retrieved columns, can be expression `('col, MD5(col) AS hash')`
| `$table->limit($limit[, $offset])` | Set LIMIT and OFFSET
| `$table->page($page, $itemsPerPage[, &$lastPage])` | Enables pagination
| `$table->group($columns)` | Set GROUP BY
| `$table->having($having)` | Set HAVING

0 comments on commit 40fa8c2

Please sign in to comment.