* imported bae2 into sea-orm local system
* doc update
* fix doc
* Remove sea-bae from the workspace
* Use sea-bae
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* WIP
* WIP
* WIP
* changed from storing ident to storing TokenStream internally
* Push for code sharing
* fmt
* changing test target to string
* updated Display not showing extra single quote, fixed clippy
* removed DeriveDisplay for test case not using display trait
* added test cases for display_value attribute
* Remove useless clone
* Add comment
* Remove useless clone
* Rename method
* Refactoring
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* progress (WIP)
* WIP
* WIP, finished structure except impl programming
* WIP
* revert event_trigger modification
* adding tests and mods
* completed derive value type
* fixed tests, adjusted code position and completed error messages
* column type commit
* added attribute array_type and column_type for specification
* renamed items and files, and removed debug messages
* move attributes outside of the wrapper struct
* refactored code for type matching, and restructured code in test cases
* clippy fix
* fix(doc): fix salvo framework name (#1731)
Co-authored-by: 黄景祥 <jingxiang.huang@baishancloud.com>
* fmt
* changed json_vec_test to use DeriveValueType
* fmt
* Revert "changed json_vec_test to use DeriveValueType"
This reverts commit 92bbf3b6e4eca72e0af0af35776aeec3ee035602.
* added test cases for inserting StringVec in a model
* fmt
* Try non-public wrapped type
* Refactoring
---------
Co-authored-by: joelhy <joelhy@gmail.com>
Co-authored-by: 黄景祥 <jingxiang.huang@baishancloud.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* resetted and re-did the changes
* fmt
* upgraded to syn2 for sea-orm-codegen
* Rename `bae2`
* Drop the use of `#[sea_orm(table_name = "col_name")]` in `DeriveColumn`
* unified derived input metadata parsing filter
* Propagate errors
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* [CI] Fix example fmt
* CI should failed, try the fmt check still works
* Revert "CI should failed, try the fmt check still works"
This reverts commit 2fea8a236b94e677a32ca89415153e53eb600279.
* end-of-day commit (WIP)
* progress commit (WIP)
* refactored and added InsertAttempt
* async asjusting
* completed implementation for insertAttempt in execution
Added in tests for insertAttempt
* updated wording for new INSERT type
* removed InsertTrait
* Added enum for SQL Error and basic functions for it
* fmt
* Restructured code to allow multiple database system simultaneously
* updated code error and moved Eq to derive by compiler
* added ForeignKeyViolation implementation
* fmt
* added type param
* changed type param and used unwrap_or_default instead of unwrap
* fmt
* refactor code and update documentation
* updated some error code and fixed formatting
* create SQL Err test for UniqueConstraintViolation
* fmt
* updated error codes for mysql errors
* added test for ForeignKeyConstraintViolation and removed unused imports/codes
* fmt
* updated doc and error message
* added static str in SqlErr
* changed to add error message into SqlErr as String
* updated test file to check database type through connection
* fmt
* updated test for SqlErr to match the error type only
* Removed comment and fixed grammar mistake
* fmt
* Update src/error.rs
* Refactoring
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>