Skip to main content Module embedded Copy item path Source pub use undeclared::summarize_undeclared_executor_types ;pub use undeclared::UndeclaredExecutorType ;pub use undeclared::UndeclaredExecutorTypeSummary ;pub use unproven::retain_unproven_spans ;pub use unproven::UnprovenMemberQuery ;pub use options::EmbeddedSqlOptions ;pub use options::ExecutorOption ;pub use options::SqlIdentifierAssertion ;pub use options::TrustedSqlTag ;pub use relative::package_name ;pub use relative::package_root_for_specifier ;pub use relative::project_relative_scoped_facts ;pub use relative::PendingRelativeScope ;helpers Recovering executor SQL that is built by helper functions, including
helpers imported from other modules. relative scoped_bindings Lexically scoped executor bindings: locals bound to a configured factory
call, and function parameters typed with a configured executor type. site_identity undeclared Diagnostic identities never confer executor proof or trigger SQL evaluation. walk CallSqlFragment Fragment contributing to an unanalyzable executor call or builder parameter. EmbeddedSqlCall One executor call site and its recovered SQL text. For Dynamic calls,
sql_text keeps identifier placeholders or the prefix before an unresolved fragment. EmbeddedSqlFileFacts Embedded-SQL facts for one source file. EmbeddedSqlFragment A SQL fragment returned from a builder or appended to a
statement builder. These are deliberately separate from executed calls:
structural policies can inspect them without treating builder code as an
executed DML statement. EmbeddedSqlSourcePosition A recovered SQL position whose physical source-line offset changes. EmbeddedSqlVariant One complete alternative, with its own physical origin and generated binds. ParamAppendOwner SqlByteOrigins UnprovenMemberQuery CallSqlFragmentAssembly CallSqlPrefixEnd EmbeddedSqlKind How executed SQL was recovered from TypeScript. INTERNAL_BIND INTERNAL_PLACEHOLDER MAX_EMBEDDED_SQL_VARIANTS Default variant budget; append exploration also retains every singleton. MAX_FROZEN_OBJECT_SQL_VARIANTS One alternative per entry of an imported frozen object record. count_placeholders executed_query_text sql_text plus identifier lookup of in-scope SQL bindings.executor_bindings Local identifiers bound as SQL executors by the configured specifier. extract_embedded_sql_from_program extract_embedded_sql_from_program_with_demand extract_embedded_sql_from_program_with_projections extract_embedded_sql_from_source extract_with_scopes internal_bind is_database_call True when call is a bound direct executor or an explicitly broad .query
call. Receiver provenance needs the full extractor’s lexical scopes. matches_trusted_sql_import Whether imported from source is a configured parameterized tag. publish_placeholders_with_positions Replace internal markers while retaining the exact SQL positions of generated values. recovered_sql_may_select True when recovered SQL is missing, incomplete, or contains a query,
including query-bearing DML and CTEs. recovered_sql_may_write_columns True when recovered SQL is missing, incomplete, or contains a column write,
including data-modifying CTEs under SELECT/DELETE. recovered_sql_needs_insert_check True when recovered SQL is missing, incomplete, or a top-level INSERT/MERGE. render_hole renumber_placeholders Shift generated markers, counting bound values independently of identifier holes. retain_unproven_spans sql_text SQL text of a literal, tagged template, or template expression.