You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 17:55:11 UTC
[I] Grails: Support finder methods provided by FindByBooleanFinder [grails-intellij-plugin]
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: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org