File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ For your convenience you can quickly specify a unique index with
143143 fields :
144144 username :
145145 unique : true
146- order : true
146+ order : asc
147147
148148 If you want to specify an index that consists of multiple fields
149149you can specify them on the class doc block:
@@ -198,10 +198,8 @@ you can specify them on the class doc block:
198198 options :
199199 unique : true
200200 keys :
201- accountId :
202- order : asc
203- username :
204- order : asc
201+ accountId : asc
202+ username : asc
205203
206204 To specify multiple indexes you must use the ``@Indexes ``
207205annotation:
@@ -256,12 +254,10 @@ annotation:
256254 indexes :
257255 accountId :
258256 keys :
259- accountId :
260- order : asc
257+ accountId : asc
261258 username :
262259 keys :
263- username :
264- order : asc
260+ username : asc
265261
266262 Embedded Indexes
267263----------------
You can’t perform that action at this time.
0 commit comments