Ligare.database.schema.dialect
Handlers for differences in SQL dialects.
Classes
- class Ligare.database.schema.dialect.DialectBase[source]
- abstract property dialect: Dialect
- get_full_table_name(table_name, meta)[source]
If the dialect supports schemas, then the table name does not have the schema prepended. In dialects that don’t support schemas, e.g., SQLite, the table name has the schema prepended. This is because, when schemas are supported, the dialect automatically handles which schema to use, while non-schema dialects do not reference any schemas.
- Return type:
str
- static iterate_table_names(dialect, schema_tables, table_name_callback)[source]
Call table_name_callback once for every table in every Base.
op: The op object from Alembic. schema_tables: A dictionary of the tables this call applies to for every Base. table_name_callback: A callback executed for every table in schema_tables.
- Return type:
None
-
supports_schemas:
bool
= False
- abstract property timestamp_sql: str