Expand description
SQL purification.
See the crate-level documentation for details.
Modules§
- mysql
- MySQL utilities for SQL purification.
- postgres
- Postgres utilities for SQL purification.
- sql_
server
Structs§
- Purified
Source Export - Schema
- Source
Preparation - Statement-local external results, reusable only for matching current requests.
- Source
Preparation Request - An external request derived from the current catalog and submitted statement.
- Source
Preparation Response - An external completion whose success or failure must be checked against current inputs.
Enums§
- Purified
Export Details - Purified
Statement - Source
Preparation Status - The result of resolving source preparation against a catalog.
- Statement
Source - The existing source a statement drives, and how the statement uses it.
Functions§
- generate_
progress_ subsource_ statement - Generates a progress subsource, choosing an available name in the supplied catalog.
- generate_
subsource_ statements - materialized_
view_ option_ contains_ temporal - Returns true if the MaterializedViewOption either already involves
mz_now()or will involve after purification. - purify_
create_ materialized_ view_ options - Purifies a CREATE MATERIALIZED VIEW statement. Additionally, it adjusts
resolved_idsif references to ids appear or disappear during the purification. - purify_
statement - Purifies a statement, removing any dependencies on external state.
- statement_
source - Resolves the existing source that
stmtdrives, mirroring how the purification paths below resolve it themselves.