Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Finders are convenience methods that will help you find a single entity or a collection of entities by using criterias. If you want to use primary keys, then use the getters.
Key
Type
Required
Default
Description
entityName
string
Yes
---
criteria
struct
Yes
---
A structure of criteria to filter on
Key | Type | Required | Default | Description |
entityName | string | Yes | --- |
criteria | struct | Yes | --- | A structure of criteria to filter on |
sortOrder | string | false | --- | The sort ordering |
ignoreCase | boolean | false | false |
timeout | numeric | false | 0 |
asStream | boolean | false | false |
Key | Type | Required | Default | Description |
query | string | No | --- | The HQL Query to execute |
params | any | No | [runtime expression] | Named or positional params |
offset | numeric | No | 0 |
max | numeric | No | 0 |
timeout | numeric | No | 0 |
ignoreCase | boolean | No | false |
datasource | string | No |
asStream | boolean | No | false |
Key | Type | Required | Default | Description |
query | string | No | --- | The HQL Query to execute |
params | any | No | {} | Positional or named params |
timeout | numeric | No | 0 |
ignoreCase | boolean | No | false |
datasource | string | No |
Key | Type | Required | Default | Description |
example | any | Yes | --- | The entity sample |
unique | boolean | false | false | Return an array of sample data or none |
Key | Type | Required | Default | Description |
query | string | No | --- | The HQL Query to execute |
params | any | No | {} | Positional or named params |
timeout | numeric | No | 0 |
ignoreCase | boolean | No | false |
datasource | string | No |