/ Published in: Groovy
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Player.findByName("Marc Tardif") Player.findAllByNameLike("%Stastny") Player.findAllByPosition("LW") Player.findAllByPositionNotEqual("G") Player.findByCreationDateBetween(date1, date2) Player.findByCreationDateGreaterThanEquals(someDate) Player.findByCreationDateLessThanEquals(someDate) Player.findByPositionIsNull() Player.findByPositionIsNotNull() Player.findByNameAndPosition("Daniel Bouchard", "G")