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

Commit 6e88855c by joe beuckman Committed by Sushant

docs(addIndex): concurrently option (#10409)

1 parent 8df9b8f3
...@@ -476,6 +476,7 @@ class QueryGenerator { ...@@ -476,6 +476,7 @@ class QueryGenerator {
- length: An integer. Optional - length: An integer. Optional
- order: 'ASC' or 'DESC'. Optional - order: 'ASC' or 'DESC'. Optional
- parser - parser
- concurrently: Pass CONCURRENT so other operations run while the index is created
- rawTablename, the name of the table, without schema. Used to create the name of the index - rawTablename, the name of the table, without schema. Used to create the name of the index
@private @private
*/ */
......
...@@ -619,6 +619,7 @@ class QueryInterface { ...@@ -619,6 +619,7 @@ class QueryInterface {
* @param {Array} [attributes] Use options.fields instead, List of attributes to add index on * @param {Array} [attributes] Use options.fields instead, List of attributes to add index on
* @param {Object} options indexes options * @param {Object} options indexes options
* @param {Array} options.fields List of attributes to add index on * @param {Array} options.fields List of attributes to add index on
* @param {boolean} [options.concurrently] Pass CONCURRENT so other operations run while the index is created
* @param {boolean} [options.unique] Create a unique index * @param {boolean} [options.unique] Create a unique index
* @param {string} [options.using] Useful for GIN indexes * @param {string} [options.using] Useful for GIN indexes
* @param {string} [options.type] Type of index, available options are UNIQUE|FULLTEXT|SPATIAL * @param {string} [options.type] Type of index, available options are UNIQUE|FULLTEXT|SPATIAL
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!