Posted By

jsbournival on 09/24/07


Tagged


Versions (?)

GORM finder methods excerpt


 / Published in: Groovy
 

  1. Player.find(myHQLquery)
  2. Player.findAll(myHQLquery)
  3. Player.findByName("Marc Tardif")
  4. Player.findAllByNameLike("%Stastny")
  5. Player.findAllByPosition("LW")
  6. Player.findAllByPositionNotEqual("G")
  7. Player.findByCreationDateBetween(date1, date2)
  8. Player.findByCreationDateGreaterThanEquals(someDate)
  9. Player.findByCreationDateLessThanEquals(someDate)
  10. Player.findByPositionIsNull()
  11. Player.findByPositionIsNotNull()
  12. Player.findByNameAndPosition("Daniel Bouchard", "G")

Report this snippet  

You need to login to post a comment.