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 @@ -136,7 +136,7 @@ For your convenience you can quickly specify a unique index with
136136 fields :
137137 username :
138138 unique : true
139- order : true
139+ order : asc
140140
141141 If you want to specify an index that consists of multiple fields
142142you can specify them on the class doc block:
@@ -191,10 +191,8 @@ you can specify them on the class doc block:
191191 options :
192192 unique : true
193193 keys :
194- accountId :
195- order : asc
196- username :
197- order : asc
194+ accountId : asc
195+ username : asc
198196
199197 To specify multiple indexes you must use the ``@Indexes ``
200198annotation:
@@ -249,12 +247,10 @@ annotation:
249247 indexes :
250248 accountId :
251249 keys :
252- accountId :
253- order : asc
250+ accountId : asc
254251 username :
255252 keys :
256- username :
257- order : asc
253+ username : asc
258254
259255 Embedded Indexes
260256----------------
You can’t perform that action at this time.
0 commit comments