Skip to content

Type Alias: ClientCommand ​

ts
type ClientCommand = 
  | {
  op: "reconnect";
}
  | {
  op: "commit";
  retain: boolean;
}
  | {
  op: "rollback";
  retain: boolean;
}
  | {
  op: "setTransaction";
  options: TransactionOptions;
  raw: string;
}
  | {
  on: boolean;
  op: "setAutoDdl";
}
  | {
  op: "unsupported";
  reason: string;
};

Defined in: packages/core/src/script/parser.ts:35

A script statement that is a client-side command — executed by the driver (isql-style), never sent to the server as DSQL. op: 'unsupported' marks a statement whose HEAD is transaction control (so it must not reach the server) but whose details the driver cannot process — executeScript rejects it with reason.

MIT Licensed. Contains data derived from the Firebird project under IDPL/IPL.