Home Create method like createCriteria().list(){} in Groovy
Reply: 0

Create method like createCriteria().list(){} in Groovy

user278
1#
user278 Published in May 25, 2018, 6:51 pm

I want to create a method that has multi params when I call that method need to create a closure to call that method.

For example in Grails we have:

 User.createCriteria().list(){}

I want to create a method like list.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.305873 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO