Pre-release
Pre-release
tanner0101
released this
New:
- Added
SQLCreateIndex
andSQLDropIndex
queries (#16). - New
SQLCreateIndexBuilder
for creating indexes on your database (#16).
conn.create(index: "planets_idx", on: \Planet.name).unique().run()
note: There is unfortunately no SQL standard for the
DROP INDEX
query so each SQL driver will be implementing their own drop index builder with custom syntax.