Polyglot SQL API Documentation - v0.1.0
    Preparing search index...

    Class Expr

    A SQL expression. Wraps a WASM handle and provides operator methods.

    All methods return new Expr instances (original is reusable).

    const cond = col('age').gte(lit(18)).and(col('status').neq(lit('banned')));
    
    Index

    Methods

    • Free the underlying WASM handle.

      Returns void

    • Return the expression AST as a plain JS object.

      Returns any

    • Generate SQL string (generic dialect).

      Returns string