Skip to main content

Protocol Modes

WorkaDB supports two execution modes.

SQL mode (required)

SQL mode accepts UTF-8 SQL strings and returns a structured response. It does not use the PostgreSQL wire protocol and is the default execution path for embedded apps.

Wire mode (optional)

Wire mode accepts PostgreSQL v3 protocol frames and returns protocol frames. This is optional and may be used by advanced integrations that already speak the wire protocol.

Both modes run in-process and use in-memory buffers only. No TCP or Unix sockets are opened.