-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Per the mailing list, it may make sense to pass the $data argument of DbConnectedResource::fetchAll() to the TableGatewayPaginator (as the second argument, forming the $where clause).
However...
It may also make sense to map query string parameters to the clause they should be used in. Zend\Paginator\Adapter\DbTableGateway has the following arguments:
$tableGateway- already being passed, for obvious reasons.$where- to create the WHERE clause$order- to sort the returned values$group- for GROUP BY clauses$having- for HAVING clauses
Each of the latter four can take an associative array of arguments.
As such, this feature should likely not pass $data directly, but instead map parameters to arguments... which means a related UI feature.
Originally posted by @weierophinney at zfcampus/zf-apigility#29
Metadata
Metadata
Assignees
Labels
No labels