SQLOverride  type: None#

class lumen.transforms.sql.SQLOverride(*, override, controls, name)#

Parameters#

override

type: str
default: ''


Methods#

SQLOverride.apply(sql_expr)#

Given an SQL statement, manipulate it, and return a new SQL statement.

Parameters:

sql_in (string) – The initial SQL query to be manipulated.

Returns:

New SQL query derived from the above query.

Return type:

string

SQLOverride.to_spec(context: dict[str, Any] | None = None) dict[str, Any]#

Exports the full specification to reconstruct this component.

Return type:

Resolved and instantiated Component object