Grails multi column indexes
Posted
by Kimble
on Stack Overflow
See other posts from Stack Overflow
or by Kimble
Published on 2009-10-02T17:57:30Z
Indexed on
2010/04/22
19:53 UTC
Read the original article
Hit count: 282
Can someone explain how to define multi column indexes in Grails? The documentation is at best sparse.
This for example does not seem to work at all: http://grails.org/GORM+Index+definitions
I've had some luck with this, but the results seems random at best. Definitions that works in one domain class does not when applied to another (with different names of course). http://www.grails.org/doc/1.1/guide/single.html#5.5.2.6%20Database%20Indices
Some working examples and explanations would be highly appreciated!
© Stack Overflow or respective owner