I want a criteria that only selects bla1 and bla2 from all attributes of a given domain
Foo.findAll()
or
def c = Foo.createCriteria()
def results = c {}
have:
SELECT * FROM foo
results = List of all attributes of given domain foo
want
SELECT bla1,bla2 FROM foo
written as Criteria def c = Foo.createCriteria() def results = c { ??? }