-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Suite #41
Comments
Hi @tyt2y3 , I'm not clear about what the task |
So the idea is to have several test cases with several transactions, for example (me just thinking randomly):
that is what I mean by 'read, insert / update, read again and update again' |
Hi @tyt2y3 , thanks for the clarification, I've started to implement this but I have run into the same problem that I was asking about in the discussion area. How can I do a query such as this with the ORM:
I don't seem to be able to do multiple joins in one query (for example |
There is another method in query/helper.rs fn join(mut self, join: JoinType, rel: RelationDef) -> Self {
self.query()
.join(join, rel.to_tbl.clone(), join_condition(rel));
self
} That does not require a Related trait |
Thanks, got it working now. |
We'd want to refactor our test suite and test for Postgres & SQLite
|
@samsamai can you explain what the file |
Oh okay I got it now, Billy added it for testing the driver support. |
@tyt2y3 pg_tests was done by @billy1624 for when he was working on the pg_driver I think. |
Thank you so much for the great work indeed! |
* Migrator use reexported `sea_orm::sea_query` * Bump sea-query version to 0.21.0 * Migrator test case use reexported `sea_orm::sea_query` * Reexport `sea_orm::sea_query`
Ideally the test suite should:
The text was updated successfully, but these errors were encountered: