-
Because `MockConnection` is under an `Arc` - `DatabaseConnection` can implement `Clone` by default
https://github.com/SeaQL/sea-orm/blob/f418c4e58069cb7ae42b79c721a44c8bb8915f1a/src/database/db_conne…
-
It appears that orm-cli failed to handle unsigned type as a primary key when generating models.
This later resulted in a:
```
panicked at 'Failed to fetch user.: Query("error occurred while dec…
-
We just played around with ltrees. `sea-orm-cli` currently generates an empty enum. Maybe for the special ltree case it shoud generate something like
```
#[derive(Debug, Clone, PartialEq, EnumIter…
-
e.g.
```rust
use async_mysql::DBClient
impl From for sea_orm::DatabaseConnection {}
```
-
## Summary
Currently Raw SQL isn't compile time checked, but since sea-orm builds on sqlx, which has compile time checks as its main feature, it would be great to allow those in sea-orm as well…
-
I'm currently playing with `sea-orm` coming from `diesel-rs` and I love it! But I ran into this error while using enums and serde, the enums do not contain any serde derives.
### Reproduction
Wi…
-
## Description
I want use postgres `timestamp without time zone` type in sea-orm
## Steps to Reproduce
1. (in postgres create statement)created_at timestamp without time zone default current_…
-
## Description
As indicated in the title, the generated SQL for `timestamp_with_time_zone_len` columns isn't valid as the precision "argument" is placed after 'with time zone` rather than after…
-
### Rationale
`System.Guid` represents .NETs support for `Globally Unique Identifiers` or `GUIDs` (sometimes also referred to as `Universally Unique Identifiers` or `UUIDs`).
This type represent…
-
I meet compiling error when I use `DeriveIntoActiveModel` to convert the struct to `ActiveModel`. The struct has only part of fields and these fields are wrapped with `Option`. Here is an example scri…