![]() ![]() Added into_model & into_json to Cursor.Added blanket implementations of IntoActiveValue for Option values.Better compile error for entity without primary key.migrate fresh command will drop all PostgreSQL types,.Added acquire_timeout on ConnectOptions.Support distinct & distinct_on expression.Run migration on any PostgreSQL schema.Generate entity derive Eq if possible.Generate DeriveRelation on empty Relation enum.Generate a new migration template with name prefix of unix timestamp.Generate entity files as a library or module.Better error types (carrying SQLx Error).Add cli feature to optionally include dependencies that are required by the CLI.Generate model with Vec or Vec should not derive Eq on the model struct.Prefix the usage of types with sea_orm:: inside DeriveActiveEnum derive macros,.Conflicting short flag -u when executing migrate generate command.Migrate up command apply all pending migrations.Generate model entity with Postgres Enum field.Check to make sure migration name doesn't contain hyphen - in it,.Escape module name defined with Rust keywords.corrected the error name UpdateGetPrimaryKey. ![]() The logic for single-column primary key was correct, but for composite keys the logic was incorrect.Generate _ prefix to enum variant starts with number.Set search path when initializing Postgres connection for CLI generate entity.Generate entity with relation variant order by name of reference table.Filter rows with IS IN enum values expression.Support appending DbErr to MockDatabase.Generate entity file for specified tables only.Fix DeriveActiveEnum expand enum variant starts with number.Optimize the default implementation of TryGetableFromJson::try_get_from_json() - deserializing into Self directly without the need of a intermediate serde_json::Value.Generate Related implementation for many-to-many relation with extra columns.DeriveEntityModel derive macro: when parsing field type, always treat field with Option as nullable column.Transactions Isolation level and Access mode.Add QuerySelect::columns method - select multiple columns.This PR contains the following updates: Package
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |