jdaugherty opened a new issue, #105:
URL: https://github.com/apache/grails-intellij-plugin/issues/105
The "find<booleanProperty>By*" static persistent method. This method
allows querying for instances of grails domain classes based on a boolean
property and any other arbitrary properties. This method returns the first
result of the query.
Example:
```
Account.findActiveByHolder("Joe Blogs"); // Where class "Account" has a
properties called "active" and "holder"
Account.findActiveByHolderAndBranch("Joe Blogs", "London"); // Where class
"Account" has a properties called "active', "holder" and
```
In both of those queries, the query will only select Account objects where
active=true.
See class org.grails.datastore.gorm.finders.FindByBooleanFinder
---
*Imported from [IDEA-80048](https://youtrack.jetbrains.com/issue/IDEA-80048)
· Type: Feature · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export —
follow the link above for the full history.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]