> For the complete documentation index, see [llms.txt](https://docs.daita.ch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.daita.ch/usage/relational/index/create-index.md).

# CREATE INDEX

```typescript
await client.exec({
   createIndex: 'MountainName',
   unique: true,
   on: table(Mountain),
   columns: ['name'],
});

// sql: CREATE UNIQUE INDEX "MountainName" ON "Mountain" ("name")
```
