co3.databases.sql module

class co3.databases.sql.RelationalDatabase(*engine_args, **engine_kwargs)[source]

Bases: Database, Generic

accessor/manager assignments satisfy supertype’s type settings; TabluarAccessor[Self, C] is of type type[RelationalAccessor[Self, C]] (and yes, type[] specifies that the variable is itself being set to a type or a class, rather than a satisfying _instance_)

class co3.databases.sql.SQLDatabase(*engine_args, **engine_kwargs)[source]

Bases: RelationalDatabase, Generic

raw_query(connection, query)[source]
class co3.databases.sql.SQLiteDatabase(*engine_args, **engine_kwargs)[source]

Bases: SQLDatabase[SQLTable]