> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tamery.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Definitions

> Browse enums, indexes, constraints, functions, triggers, and policies in Tamery's Definitions view.

The Definitions view lists schema objects beyond tables — enums, indexes, constraints, functions, triggers, and policies. It adapts to the database engine, showing only the object types that engine supports.

## Definition types

<CardGroup cols={2}>
  <Card title="Enums / Sets" icon="list-ul" href="/features/definitions">
    PostgreSQL `ENUM` types; MySQL `SET`/`ENUM` columns. Shows the name and allowed values.
  </Card>

  <Card title="Indexes" icon="bolt" href="/features/definitions">
    Indexed columns, index type (B-tree, Hash, GiST, …), and uniqueness.
  </Card>

  <Card title="Constraints" icon="link" href="/features/definitions">
    Foreign keys and table constraints (`CHECK`, `UNIQUE`), including referencing/referenced
    columns.
  </Card>

  <Card title="Policies" icon="shield-halved" href="/features/definitions">
    PostgreSQL RLS policies, MySQL table privileges, SQL Server security predicates, ClickHouse row
    policies.
  </Card>

  <Card title="Functions" icon="code" href="/features/definitions">
    Functions/procedures (PostgreSQL, MySQL, SQL Server): signature, return type, language, body.
  </Card>

  <Card title="Triggers" icon="bolt-lightning" href="/features/definitions">
    Triggers (PostgreSQL, MySQL, SQL Server): table, event, timing, and called function.
  </Card>
</CardGroup>

<Note>
  **Functions** and **Triggers** are not available for ClickHouse. **Policies** exist for all
  engines but mean different things per engine (see above).
</Note>

## Navigating

<Steps>
  <Step title="Open the Definitions tab">
    The sidebar shows the categories available for your database type.
  </Step>

  <Step title="Choose a category">
    Click a category (e.g. **Indexes**) to list that object type for the selected schema.
  </Step>

  <Step title="Switch schemas">Use the **Schema** dropdown at the top of the sidebar.</Step>

  <Step title="Inspect an object">
    Click an item to expand its details inline — index columns, function bodies, policy rules, etc.
  </Step>
</Steps>
