Coverage for kwai/core/db/__init__.py: 100%
0 statements
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
1"""Package for all database related modules.
3ORM (Object-relational mapping) software (like SQLAlchemy) is not used. Instead, the
4repository pattern is used. A repository is responsible for saving, creating, querying
5and deleting entities. [sql-smith][sql-smith] is used to build queries.
7The [DatabaseQuery][kwai.core.db.database_query.DatabaseQuery] class can be used to
8implement the Query interface.
10[sql-smith]: https://github.com/fbraem/sql-smith
11"""