Skip to content

Commit

Permalink
GRAILS-4675 clarified docs on indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
burtbeckwith committed Mar 29, 2010
1 parent ad168e5 commit 4115940
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/guide/5.5.2.6 Database Indices.gdoc
Expand Up @@ -9,10 +9,9 @@ class Person {
version false
id column:'person_id'
firstName column:'First_Name', index:'Name_Idx'
address column:'Address', index:'Name_Idx, Address_Index'
address column:'Address', index:'Name_Idx,Address_Index'
}
}
{code}



Note that you cannot have any spaces in the value of the @index@ attribute; in this example @index:'Name_Idx, Address_Index'@ will cause an error.

0 comments on commit 4115940

Please sign in to comment.