-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance query handling and testing in ORM
- Introduced `get_session` from `session_manager` for improved session management. - Added utility function `compile_sql` to streamline SQL compilation. - Refined imports and streamlined select query calls with alias `sm`. - Enhanced `QueryWrapper` by adding a docstring for `one()` method. - Expanded ORM test coverage with `test_basic_query`, refined `test_all_and_count`, and adjusted assertion methods for robustness. - Added a new attribute `something` to the `ExampleRecord` class for more flexible data representation. Generated-by: aiautocommit
- Loading branch information
1 parent
3181cca
commit 363c0dd
Showing
3 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters