Skip to main content

Module statements

Module statements 

Source
Expand description

Typed INSERT, SELECT, and trigger facts from PostgreSQL SQL.

Re-exports§

pub use crate::statement_facts::*;

Functions§

extract_sql_statement_facts
Extract INSERT/SELECT/trigger facts from one SQL source.
has_top_level_not_exists_in
Whether SQL contains a top-level conjunctive NOT EXISTS predicate.
insert_keyword_count
mask_quoted_sql
Mask comments, quoted strings, and dollar-quoted bodies in one scan so comment markers inside literals and quotes inside comments cannot nest.