criteriaCount
Update: Please use our updated Hibernate Criteria Builder objects instead so you can have much more control, granularity and coolness!
Get the record count using hibernate projections and criterion for specific queries
Returns
This function returns numeric
Arguments
Key | Type | Required | Default | Description |
entityName | any | Yes | --- | The entity to run count projections on |
criteria | array | No | [] | The array of hibernate criterion to use for the projections |
Examples
Last updated