Skip to content

Commit

Permalink
Fix mistyping in 'Using Indexes' section
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota authored and asdine committed Oct 24, 2020
1 parent f707ab4 commit 5e5552d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/genji-sql/using-indexes.md
Expand Up @@ -40,8 +40,8 @@ CREATE UNIQUE INDEX idx_email ON users(email);
A unique index ensures that the indexed fields do not store duplicate values.
Note that `NULL` values will have the same constraints, meaning that only one document who doesn't contain the indexed field, or whose field is equal to `NULL` will be able to be inserted.

To delete indexes, use the `DELETE INDEX` statement
To delete indexes, use the `DROP INDEX` statement

```sql
DELETE INDEX idx_address_city;
DROP INDEX idx_address_city;
```

0 comments on commit 5e5552d

Please sign in to comment.