Pre-release
Pre-release

@tanner0101 tanner0101 released this Jun 22, 2018 · 48 commits to master since this release

New:

  • Added SQLCreateIndex and SQLDropIndex 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.

Assets 2