create Index
Creates a standard (non-unique) INDEX.
This function initiates the definition of a new index for the table. You must chain this call with the Index.on function to specify which column(s) to include in the index.
Example:
createIndex("idx_last_name").on(lastName)Content copied to clipboard
Return
An Index instance to allow for method chaining, primarily with Index.on and optionally Index.where.
Author
MOHAMMAD AZIM ANSARI
Parameters
name
The name of the index. This name should be unique within the database.