Skip to main content

Module pure

Module pure 

Source
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§

PurifiedSourceExport
Schema
SourcePreparation
Statement-local external results, reusable only for matching current requests.
SourcePreparationRequest
An external request derived from the current catalog and submitted statement.
SourcePreparationResponse
An external completion whose success or failure must be checked against current inputs.

Enums§

PurifiedExportDetails
PurifiedStatement
SourcePreparationStatus
The result of resolving source preparation against a catalog.
StatementSource
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_ids if 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 stmt drives, mirroring how the purification paths below resolve it themselves.