[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Schema](https://evolu.dev/docs/api-reference/common/local-first/Schema) › ConditionalMutationChange

Defined in: [packages/common/src/local-first/Schema.ts:686](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/local-first/Schema.ts#L686)

A [MutationChange](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange) that can apply only while its row is as given, which
the DbWorker's transaction checks. Evolu makes such changes itself, such as
for [createEvoluApp](https://evolu.dev/docs/api-reference/common/local-first/Evolu/functions/createEvoluApp)'s device database; a [Mutation](https://evolu.dev/docs/api-reference/common/local-first/Schema/type-aliases/Mutation) never makes
one.

## Extends

- [`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange)

## Properties

<a id="id"></a>

### id

```ts
id: string & Brand<"Id">;
```

#### Inherited from

[`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange).[`id`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange#id)

---

<a id="isdelete"></a>

### isDelete

```ts
isDelete: boolean | null;
```

#### Inherited from

[`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange).[`isDelete`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange#isdelete)

---

<a id="isinsert"></a>

### isInsert

```ts
isInsert: boolean;
```

#### Inherited from

[`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange).[`isInsert`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange#isinsert)

---

<a id="onlyif"></a>

### onlyIf?

```ts
readonly onlyIf?: MutationChangeCondition;
```

Defined in: [packages/common/src/local-first/Schema.ts:694](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/local-first/Schema.ts#L694)

Applies a change of a local-only table only while its row is as given. A
tab decides a change from the rows it read, which another tab's change may
already have made outdated, and changes from different tabs reach the
DbWorker in no guaranteed order, so such a change then changes nothing
instead of writing over the other one.

---

<a id="ownerid"></a>

### ownerId

```ts
readonly ownerId: string & Brand<"Id"> & Brand<"OwnerId">;
```

Defined in: [packages/common/src/local-first/Schema.ts:675](https://github.com/evoluhq/evolu/blob/1ef91d4e21b74fa0c122e48558188dc42676c429/packages/common/src/local-first/Schema.ts#L675)

#### Inherited from

[`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange).[`ownerId`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange#ownerid)

---

<a id="table"></a>

### table

```ts
table: string;
```

#### Inherited from

[`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange).[`table`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange#table)

---

<a id="values"></a>

### values

```ts
values: Readonly<
  Partial<
    Record<
      string,
      | string
      | Uint8Array<ArrayBufferLike>
      | (number & Brand<"NonNaN"> & Brand<"Finite">)
      | null
    >
  >
> & Brand<"ValidDbChangeValues">;
```

#### Inherited from

[`MutationChange`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange).[`values`](https://evolu.dev/docs/api-reference/common/local-first/Schema/interfaces/MutationChange#values)