不要怂,就是干,撸起袖子干!

Commit 3dca9fa0 by Viliam Jobko Committed by Sushant

docs(model-definition): using for creating indexes (#11086)

1 parent 2bdcc5dc
Showing with 1 additions and 1 deletions
...@@ -713,7 +713,7 @@ User.init({}, { ...@@ -713,7 +713,7 @@ User.init({}, {
// A BTREE index with a ordered field // A BTREE index with a ordered field
{ {
name: 'title_index', name: 'title_index',
method: 'BTREE', using: 'BTREE',
fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}] fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}]
} }
], ],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!