gizmodel/sql/parsedml
The SQL parser: INSERT, UPDATE, DELETE and MERGE.
import * as Parsedml from "gizmodel/sql/parsedml";Methods
Parser.insert
function Parser.insert(self: mut Parser): StatementEffects: fail, read, alloc.
Parser.valueRows
function Parser.valueRows(self: mut Parser): Vec<Vec<Expr>>Effects: fail, read, alloc.
Parser.merge
function Parser.merge(self: mut Parser): StatementMERGE INTO t [AS a] USING source ON condition WHEN [NOT] MATCHED [AND condition] THEN action ...: from holds the
source, where the join condition, inner one statement for each WHEN clause (update, delete, insert or noop; what
"matched" or "not matched"; where its condition).
Effects: fail, read, alloc.
Parser.update
function Parser.update(self: mut Parser): StatementEffects: fail, read, alloc.
Parser.delete
function Parser.delete(self: mut Parser): StatementEffects: fail, read, alloc.