sqlgen.repository.bases package¶
Submodules¶
sqlgen.repository.bases.constrained module¶
- class sqlgen.repository.bases.constrained.ConstrainedRepository(*args, **kwargs)¶
Bases:
DatabaseRepository
- classmethod get_statement_generator_factory()¶
sqlgen.repository.bases.database_repository module¶
- class sqlgen.repository.bases.database_repository.DatabaseRepository(*args, **kwargs)¶
Bases:
ABC
,Generic
Base class for DatabaseRepositories
- cls: type[T]¶
- classmethod get_statement_generator_factory()¶
- statement_generator: StatementGenerator¶
- statement_generator_factory: type[StatementGenerator]¶
sqlgen.repository.bases.object_bound module¶
- class sqlgen.repository.bases.object_bound.ObjectBoundRepository(bound_object_id, *args, **kwargs)¶
Bases:
DatabaseRepository
,Generic
- bound_model: type[D]¶
- classmethod get_statement_generator_factory()¶
- statement_generator: ObjectBoundStatementGenerator¶