Skip to main content

Module executor

Module executor 

Source
Expand description

PowDB query executor.

Modules§

mem_budget
Per-query memory budget accumulator (WS2).

Structs§

Engine
PreparedQuery

Enums§

QueryDialect
Query frontend dialect. PowQL remains the default/native dialect; SQL is an explicit frontend that lowers to the same AST before planning.

Constants§

READONLY_NEEDS_WRITE
Legacy sentinel string constant — kept for backward compatibility with any external code matching on the string representation. New code should match on QueryError::ReadonlyNeedsWrite directly.

Functions§

is_read_only_statement
Mission infra-1: classify a parsed statement as read-only vs. mutating. Used by Engine::execute_powql_readonly and by the server handler to decide between the RwLock reader and writer sides. Union recurses because each side can independently be read/write (though in practice both sides are reads — the parser only builds Union from query shapes).