sea-orm
sea-orm copied to clipboard
π An async & dynamic ORM for Rust
## Description ## Steps to Reproduce 1. When I use sea-orm-cli generate entity: not auto generate Cargo.toml file. * exec cmd ```bash ~ sea-orm-cli generate entity \ -o entity/src \...
code link:https://github.com/SeaQL/sea-orm/blob/fff738a706d8097bb2b92d7a1fad3b67c2cde653/sea-orm-cli/src/commands.rs#L232 Now: Suggestion:
## Description default_expr does not seem to be implemented ## Steps to Reproduce ```rust #[derive(Clone, Debug, PartialEq, DeriveEntityModel)] #[sea_orm(table_name = "stuff")] pub struct Model { #[sea_orm(default_expr = "gen_random_uuid()", unique)] pub...
## Motivation ## Proposed Solutions ## Additional Information
## Summary Be able to directly support Array in database Such as `text[]` ## Additional Information Right now it is represented by a custom `column_type = "Custom(\"array\".to_owned())"` and the type...
### Use case * Sometimes we can't always perform hard deletions in production. * This is what most ORMs do ### The Ideal way * Respect the `deleted_at` column (`pub...
I'm currently in the process of migrating a program from sqlite to sea-orm and used sea-orm-codegen to generate the entities from the existing database. It seems it converted an `UNSIGNED...
## Motivation A lot code in my projects is mapping SQL query result into rust struct and convert it to JSON string. I have a few suggestions on how to...
Add a new trait `AggregatorTrait` to be impl by Selector* `count()` and `sum` `avg` `max` `min` by specifying a column to aggregate on
SeaORM aims to play well with other crates in the async ecosystem. We now have an array of integration examples. But if you used SeaORM with a framework / library...