Db.createIndex
Db.createIndex($tableName, $colName) -> boolean
Description
Create an index on the given column.
$wasCreated = Db.createTable('users', { userId: 'int' email: 'varchar(255)' }) //= true
Create an index on the given column.
$wasCreated = Db.createTable('users', { userId: 'int' email: 'varchar(255)' }) //= true