-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Added: - π§π»βπ» Implement `ErrorKind::FromRowError`. - π§π»βπ» Implement DB migrations with sqlx for the creation of the MySQL test database. - π§π»βπ» Implement ***SqlxPagination*** to generalize the implementation of pagination methods using *sqlx*. - π§π»βπ» Implement **SqlxPagination** for `QueryBuilder<MySQL>` to paginate results from a SQL query into a `Page`. Only available on ***mysql-sqlx*** feature is enabled. - π§π»βπ» Implement **SqlxPagination** for `QueryBuilder<Postgres>` to paginate results from a SQL query into a `Page`. Only available on ***pg-sqlx*** feature is enabled. - π§π»βπ» Implement integration test for pagination with ***mysql-sqlx***. ### Changed: - π¨ Refactor of the pagination.rs module to create the records_pagination.rs and sqlx_pagination.rs modules. Renaming the test module test_sqlx_postgres_pagination.rs to test_sqlx_pagination.rs. ### Removed: - β Remove **From** **sqlx::Error** for `PaginationError`. ### Docs: - π Update project documentation.
- Loading branch information
Showing
26 changed files
with
1,211 additions
and
453 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,7 @@ venv/ | |
.venv/ | ||
|
||
# macOS | ||
.DS_Store | ||
.DS_Store | ||
|
||
# Env files | ||
*.env |
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
Oops, something went wrong.