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

## PR Info - Closes #220 - Dependencies - https://github.com/SeaQL/sea-query/pull/349 - https://github.com/SeaQL/sea-schema/commit/35ca159ed17fdb775c99c469052d73cbaaae009c ## Adds - [x] `SoftDeleteTrait` - [x] `DeriveEntityModel` and `DeriveColumn` procedural macros with `soft_delete_column` proc_macro attribute - [x]...

## Motivation Expecting a JSON value with a web framework usually makes it return the correct status codes etc. if an entity cannot be deserialized from the request, but currently...

## Motivation This is a common feature for an ORM. Which "touch" these timestamp columns to record the last update timestamp and create at timestamp of a row. ## Proposed...

I was try to use [sea_orm::Selector::one](https://docs.rs/sea-orm/0.6.0/sea_orm/struct.Selector.html#method.one) The return of the function is Result I expected if the database not exist or record is not found then i will have DbErr...

## Motivation For some specific reason (related to us still using sqlx migrations), I happen to need an sqlx connection from the pool which I don't seem to be able...

## Description If the migration creates postgres types, running `sea-orm-cli migrate fresh` will fail because it doesn't delete types, and it will say that the type already exists. ## Steps...

good first issue

## Summary Right now it is impossible to convert from `ActiveModel -> Model` or from `ActiveValue -> T` ? ## Motivation When using `insert_many(..)` the return type is useless. (...

good first issue

## Description When inserting a value in a table with several primary keys and using the default value for an auto-incremented one, the insert fails. Known to be reproducible with...

## Summary I would like to use `returning` branch in update and insert when using sqlite. ## Motivation It's more efficient than looking up by primary id after update. ##...