ralsei.types.primitives

Module Contents

Classes

Sql

Raw SQL string, inserted into the template as-is

Identifier

A SQL identifier, like "table_name"

Table

Table identifier, like "schema_name"."table_name"

Placeholder

Placeholder for a bind parameter, like :value

API

class ralsei.types.primitives.Sql

Bases: ralsei.types.to_sql.ToSql

Raw SQL string, inserted into the template as-is

value : str = None
to_sql(env: ralsei.jinja.ISqlEnvironment) str
class ralsei.types.primitives.Identifier

Bases: ralsei.types.to_sql.ToSql

A SQL identifier, like "table_name"

value : str = None
to_sql(env: ralsei.jinja.ISqlEnvironment) str
class ralsei.types.primitives.Table

Bases: ralsei.types.to_sql.ToSql

Table identifier, like "schema_name"."table_name"

name : str = None
schema : Optional[str] = None
__str__() str
to_sql(env: ralsei.jinja.ISqlEnvironment) str
class ralsei.types.primitives.Placeholder

Bases: ralsei.types.to_sql.ToSql

Placeholder for a bind parameter, like :value

Must not any spaces or special characters

name : str = None
__post_init__()
to_sql(env: ralsei.jinja.ISqlEnvironment) str