I want to write an insert query in Grails. I have tried all possible combinations but cant get the syntax correct. Can anybody please help?
class Person {
int age
String name
}
i tried the following:
Person.executeUpdate("insert into Person values (20,"ABC")")
p.s.:Please do not mention using save()