Skip to content

MutationBuilder class

Home > @direct-sqlite/core > MutationBuilder

Isolated mutation pipeline context manager handling table modifications.

Signature:

export declare class MutationBuilder<TRow>

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the MutationBuilder class.

Constructor

Modifiers

Description

(constructor)(db, client, tableName, action, data)

Constructs a new instance of the MutationBuilder class

Method

Modifiers

Description

execute()

Compiles and executes the data mutation transaction statement context across storage layers.

where(column, operator, value)

Appends constraints limiting mutation target scopes.