Billy Chan
cef380b977
SQLite type mappings ( #2077 )
...
* sqlite: deps
* sqlite: update data type mappings
* sqlite: decimal test cases
* sqlite: try negative numbers
* fixup
* fixup
* fmt
* clippy
* fixup
* fixup
* fixup
* refactor
* fix
* Drop the use of `rust_decimal_macros` (#2078 )
* sqlite: decimal -> real
* revert
* Bump dependencies
* Fixup
* Fixup
* Fixup
* Fixup
* Refactor
* Refactor
* Refactor
2024-02-05 14:42:55 +08:00
Billy Chan
c6e1a84a12
codegen: testing entity generation of composite foreign key ( #2071 )
2024-01-19 18:47:49 +08:00
Billy Chan
9d033d01a8
Fix: generate relation for related entity of composite foreign key ( #1693 )
...
* Fix: generate relation for related entity of composite foreign key
* clippy
2023-09-22 02:28:49 +08:00
Billy Chan
44a94d65d2
Bump SeaQuery and SeaSchema to new latest RC version ( #1661 )
2023-05-18 16:51:13 +08:00
Billy Chan
5e0c625ac0
Fix - vector of float & double does not derive Eq ( #1158 )
...
* Fix - vector of float & double does not derive Eq
* clippy
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-10-27 00:40:03 +08:00
Billy Chan
b5b9790252
Support array datatype in PostgreSQL ( #1132 )
...
* PostgreSQL array (draft)
* Fixup
* Fixup
* Fixup
* Fixup
* Fixup
* Refactoring
* generate entity for Postgres array fields
* Add tests
* Update Cargo.toml
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-10-23 18:26:57 +08:00
Lingxiang "LinG" Wang
a349f13fd7
Struct / enum derive PartialEq should also derive Eq ( #988 )
...
* add Eq
* Fix clippy warnings
* Fix test cases
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-25 10:38:05 +08:00
Billy Chan
73701fef9a
Codegen Unsigned Integer - 2 ( #397 )
...
* feat: codegen unsigned integer
* feat: apply alias on `ColumnRef::SchemaTableColumn`
* Update SQLite test cases, quote identifier with double quotes
* Bump sea-query version to 0.22
* Add dummy line
* Tests [cli] and [issues]
* update sea-schema
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-03-14 12:40:02 +08:00
Billy Chan
21216f3a97
Codegen column_name
proc_macro attribute ( #433 )
...
* feat: codegen `column_name` proc_macro attribute
* test: codegen `column_name`
2022-02-05 21:14:10 +08:00
Billy Chan
ccb8b95324
Codegen Handle Self Referencing & Multiple Relations to the Same Related Entity ( #347 )
...
* [sea-orm-codegen] handle self referencing relation & multiple relations to the same related entity
* Test [cli]
* Test [cli]
2021-12-04 21:22:10 +08:00
Billy Chan
8b217239fd
Fix clippy warnings
2021-11-08 12:13:29 +08:00
Billy Chan
d6b53abd95
Handle crate
, Self
and self
rust keywords
2021-10-06 22:24:52 +08:00
Billy Chan
7779ac886e
Escape rust keyword on codegen
2021-10-05 10:49:06 +08:00
Billy Chan
01011cf0f4
Generate macro attribute "nullable"
2021-09-15 10:46:12 +08:00
Billy Chan
10a5a34cd9
Move files
2021-09-10 22:28:08 +08:00