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

# Database

> Doppler local sync: searchable entities, `.search()` filters, and operators.

The Doppler plugin syncs data locally. Use `corsair.doppler.db.<entity>.search({ data, limit?, offset? })` with the filters listed per entity.

<Info>
  **New to Corsair?** See [database operations](/concepts/database), [data synchronization](/concepts/integrations), and [multi-tenancy](/concepts/multi-tenancy).
</Info>

## Configs

Path: `doppler.db.configs.search`

```ts theme={null}
const rows = await corsair.doppler.db.configs.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field              | Type      | Operators                                  |
| ------------------ | --------- | ------------------------------------------ |
| `entity_id`        | `string`  | equals, contains, startsWith, endsWith, in |
| `name`             | `string`  | equals, contains, startsWith, endsWith, in |
| `slug`             | `string`  | equals, contains, startsWith, endsWith, in |
| `project`          | `string`  | equals, contains, startsWith, endsWith, in |
| `environment`      | `string`  | equals, contains, startsWith, endsWith, in |
| `root`             | `boolean` | equals                                     |
| `inheritable`      | `boolean` | equals                                     |
| `inheriting`       | `boolean` | equals                                     |
| `locked`           | `boolean` | equals                                     |
| `initial_fetch_at` | `string`  | equals, contains, startsWith, endsWith, in |
| `last_fetch_at`    | `string`  | equals, contains, startsWith, endsWith, in |
| `created_at`       | `string`  | equals, contains, startsWith, endsWith, in |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Environments

Path: `doppler.db.environments.search`

```ts theme={null}
const rows = await corsair.doppler.db.environments.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field              | Type      | Operators                                  |
| ------------------ | --------- | ------------------------------------------ |
| `entity_id`        | `string`  | equals, contains, startsWith, endsWith, in |
| `id`               | `string`  | equals, contains, startsWith, endsWith, in |
| `slug`             | `string`  | equals, contains, startsWith, endsWith, in |
| `name`             | `string`  | equals, contains, startsWith, endsWith, in |
| `project`          | `string`  | equals, contains, startsWith, endsWith, in |
| `initial_fetch_at` | `string`  | equals, contains, startsWith, endsWith, in |
| `created_at`       | `string`  | equals, contains, startsWith, endsWith, in |
| `personal_configs` | `boolean` | equals                                     |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Projects

Path: `doppler.db.projects.search`

```ts theme={null}
const rows = await corsair.doppler.db.projects.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field         | Type     | Operators                                  |
| ------------- | -------- | ------------------------------------------ |
| `entity_id`   | `string` | equals, contains, startsWith, endsWith, in |
| `id`          | `string` | equals, contains, startsWith, endsWith, in |
| `slug`        | `string` | equals, contains, startsWith, endsWith, in |
| `name`        | `string` | equals, contains, startsWith, endsWith, in |
| `description` | `string` | equals, contains, startsWith, endsWith, in |
| `created_at`  | `string` | equals, contains, startsWith, endsWith, in |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Webhooks

Path: `doppler.db.webhooks.search`

```ts theme={null}
const rows = await corsair.doppler.db.webhooks.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field       | Type      | Operators                                  |
| ----------- | --------- | ------------------------------------------ |
| `entity_id` | `string`  | equals, contains, startsWith, endsWith, in |
| `id`        | `string`  | equals, contains, startsWith, endsWith, in |
| `name`      | `string`  | equals, contains, startsWith, endsWith, in |
| `url`       | `string`  | equals, contains, startsWith, endsWith, in |
| `enabled`   | `boolean` | equals                                     |
| `hasSecret` | `boolean` | equals                                     |
| `canManage` | `boolean` | equals                                     |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Workplace

Path: `doppler.db.workplace.search`

```ts theme={null}
const rows = await corsair.doppler.db.workplace.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field            | Type     | Operators                                  |
| ---------------- | -------- | ------------------------------------------ |
| `entity_id`      | `string` | equals, contains, startsWith, endsWith, in |
| `id`             | `string` | equals, contains, startsWith, endsWith, in |
| `name`           | `string` | equals, contains, startsWith, endsWith, in |
| `billing_email`  | `string` | equals, contains, startsWith, endsWith, in |
| `security_email` | `string` | equals, contains, startsWith, endsWith, in |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***
