Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto generate index name #386

Merged
merged 4 commits into from
Apr 13, 2021
Merged

Auto generate index name #386

merged 4 commits into from
Apr 13, 2021

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Apr 13, 2021

This allows creating indexes without specifying an index name:

Synopsis:

CREATE INDEX [[IF NOT EXISTS] name] ON table_name (field_name)

Example:

CREATE INDEX ON foo(a);
CREATE UNIQUE INDEX ON foo(a);
CREATE INDEX IF NOT EXISTS idx_foo_a ON foo(a);

@asdine asdine added this to the v0.12.0 milestone Apr 13, 2021
@asdine asdine merged commit 7473413 into main Apr 13, 2021
@asdine asdine deleted the auto-generate-index-name branch April 13, 2021 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant