add `PartialModelTrait` for a part of model
re-export `PartialModelTrait`
cargo fmt
add fn`into_partial_model` on `Select`&`SelectTwo`
add `DerivePartialModel` to impl `PartialModel`
add macro `DerivePartialModel` to `sea-orm`
disambiguate `SelectColumns` function
fix macro error
cargo fmt && cargo clippy
move `SelectColumns` from helper.rs to traits.rs
cargo fmt
Reduce nest hell of load attribute argument fetch
✅ test `DerivePartialModel` input parse
`DerivePartialModel` not derive with generic
fix `DerivePartialModel` code generate error
remove unused use
cargo fmt
add `into_partial_model` for `SelectTwoMany`
* Added escaping to ActiveEnum to allow for non-Unicode Standard Annex #31 characters, as well as addressing issues with ' ' and '_' causing potential identifier conflicts.
* Improved docstring for camel_case_with_escaped_non_xid.
* Moved underscore prepending to camel_case_with_escaped_non_xid.
* cargo fmt and code fixes to resolve CI failures.
* Added unittest to sea_orm_macros::util for new function.
* Fixed a typo in a doc code block.
* clippy
* Test cases
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* added .gitignore file
* add .gitignore
* only add .gitignore if not in a existing git repo
* Use `git2` to detect git repository
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* Update heck dependency
* Fix formatter error
* Drop the use of `sea-strum` and depends on the original `strum` with a tailored `EnumIter` provided
* fmt
* Depends on `strum` 0.23
* Depends on `strum` 0.24
* Source code adapted from https://github.com/Peternator7/strum
* Update LICENSE
---------
Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
Co-authored-by: Sergei Ivankov <96142843+sergeiivankov@users.noreply.github.com>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* Support `None` value for unselected Optional columns, closes#1507
* Support `None` value for unselected Optional columns, closes#1507
* fix rustfmt and cfg control issues
* add test case for #1513