sea-orm icon indicating copy to clipboard operation
sea-orm copied to clipboard

🐚 An async & dynamic ORM for Rust

Results 358 sea-orm issues
Sort by recently updated
recently updated
newest added

## Description I encountered an error connecting to my postgres database using connection string that uses raw ipv6 as hostname. ## Steps to Reproduce Using provided docker image, and run...

## Description I can't use the entity generator with my MariaDB instance deployed by docker. MariaDB version: `11.3.2-MariaDB-1:11.3.2+maria~ubu2204` https://github.com/MariaDB/mariadb-docker/issues/591 Seems they has been changed the default collation from `utf8mb4_general_ci`. ##...

When I was using sea-orm 0.12 with MySQL version 8.0.23, data could be written normally even when the primary key wasn't an auto-increment ID. However, after upgrading to sea-orm 1.1,...

![Image](https://github.com/user-attachments/assets/f138bb66-a195-4c18-b5b6-8473e153420e)

## PR Info - Closes https://github.com/SeaQL/sea-orm/issues/2063 ## Bug Fixes Before this commit, using `--*-extra-attributes` with an attribute containing a comma (several arguments) did not work (example `--model-extra-attributes=“graphql(complex, name=”users“`) ## Changes...

## PR Info - Closes https://github.com/SeaQL/sea-orm/issues/21 - Related - https://github.com/SeaQL/sea-orm/pull/2518 - https://github.com/SeaQL/sea-orm/discussions/2525 ## New Features - [ ] Select up to 10

## Description `#[sea_orm(indexed, unique)]` doesn't create unique index ## Reproducible Example ```rust #[derive(Clone, Debug, PartialEq, DeriveEntityModel)] #[sea_orm(table_name = "user_email_account")] pub struct Model { #[sea_orm(primary_key)] pub id: i32, #[sea_orm(indexed, unique)] pub...

``` #[derive(EnumIter, DeriveActiveEnum)] #[sea_orm(rs_type = "String", db_type = "String(StringLen::None)")] pub enum Lang { #[sea_orm(string_value = "rustlang")] TestA, #[sea_orm(string_value = "绣lang")] TestB, #[sea_orm(string_value = "绣")] TestC, #[sea_orm(string_value = "编程语言")] TestD, }...

## Description Starting from v1.1.7, `sea_orm::executor::select::Select::into_partial_model()` requires that all enum columns be annotated with a `cast_as` or receive an Err when retrieving data. This was not needed in 1.1.6. ##...

If our DB disconnects right now the code panics. Can we handle this safely? src/database/db_connection.rs:119:49: