1660 Commits

Author SHA1 Message Date
Billy Chan
0d473444ba
Update examples dependencies 2022-03-27 17:41:27 +08:00
Chris Tsang
952b6ebc80 Changelog 2022-03-27 00:45:38 +08:00
Chris Tsang
e9cf93f4b5 0.7.1 2022-03-27 00:26:48 +08:00
Chris Tsang
c4f0db334d Fix build error 2022-03-27 00:24:10 +08:00
Chris Tsang
86fa15563d sea-orm-cli 0.7.1 2022-03-27 00:07:33 +08:00
Chris Tsang
a3c7381055 Update sea-schema 2022-03-27 00:06:48 +08:00
Chris Tsang
45fe665a76 Changelog 2022-03-26 19:33:50 +08:00
Chris Tsang
018d9d8fd3 0.7.0 2022-03-26 18:35:49 +08:00
Chris Tsang
565fb5a725 sea-orm-macros 0.7.0 2022-03-26 18:33:17 +08:00
Chris Tsang
1e8c725eca sea-orm-cli 0.7.0 2022-03-26 18:30:18 +08:00
Chris Tsang
c32b07edb8 sea-orm-codegen 0.7.0 2022-03-26 18:29:26 +08:00
Chris Tsang
1e6b1fbe4d Build script 2022-03-26 18:18:24 +08:00
Chris Tsang
698530c27b Changelog 2022-03-26 18:07:29 +08:00
Chris Tsang
ee4159266f Changelog 2022-03-26 18:07:29 +08:00
Alex
fe1877a49d
sea as an alternative bin name to sea-orm-cli (#558)
* Simplify bin name from  sea-orm-cli to sea

* -S

* fixed test
2022-03-26 18:06:14 +08:00
Mike
290d2c5172
add example for integrate with jsonrpsee (#632)
* add example for integrate with jsonrpsee

* Update CI
2022-03-26 17:40:06 +08:00
Billy Chan
983a16fc41
CHANGELOG 2022-03-25 18:44:21 +08:00
Billy Chan
6091629adb
cargo fmt 2022-03-25 15:25:49 +08:00
Billy Chan
5a473ba754
CHANGELOG 2022-03-25 14:24:02 +08:00
Billy Chan
c504f42cb3
Fixing and testing into_json of various field types (#539)
* Fixing and testing `into_json` of various types

* Support `into_json` for UUID

* Testing `into_json` for UUID

* Fixup
2022-03-24 22:38:45 +08:00
Chris Tsang
ea5b0b1073 Changelog 2022-03-22 23:32:29 +08:00
Chris Tsang
89574c2b24 Changelog 2022-03-22 23:32:29 +08:00
Billy Chan
cd3b11a503
Fix codegen with Enum in expanded format (#624) 2022-03-22 23:27:14 +08:00
Chris Tsang
ec70ed1052 Changelog 2022-03-22 23:23:22 +08:00
Chris Tsang
31ae1b5915 Changelog 2022-03-22 23:23:22 +08:00
Chris Tsang
474d47a929 Changelog 2022-03-22 23:23:22 +08:00
Marco Napetti
e80aa07c7c
Add Send to StreamTrait (#622)
* update ouroboros

* Add Send to StreamTrait
2022-03-22 17:17:07 +08:00
Brandon Konkle
a9bb998185
Add rust-example-caster-api to COMMUNITY.md (#623) 2022-03-22 15:08:07 +08:00
Shouvik Ghosh
12f66618f9
Added delete_by_id (#590)
* Added delete_by_id

* Added an integration test

* Added composite key example

* Remove extra find_by_id in delete_by_id test

* Added unit test with composite primary key
2022-03-21 14:41:05 +08:00
shinbunbun
7a86ac0239
Implement PaginatorTrait for SelectorRaw (#617)
* Implement PaginatorTrait for SelectorRaw

* Implement raw test
2022-03-21 14:37:08 +08:00
Chris Tsang
2547275ff6 Changelog 2022-03-21 01:25:31 +08:00
Chris Tsang
da7cc541eb
Merge pull request #584 from SeaQL/pulls/471
Pulls/471
2022-03-21 01:17:46 +08:00
Chris Tsang
929b85131c [issues] 2022-03-21 01:12:54 +08:00
Chris Tsang
fb3d3995bb Changelog 2022-03-21 00:50:05 +08:00
Chris Tsang
0c0083adfa Changelog 2022-03-21 00:47:52 +08:00
Nick Burrett
a09790ef81
Allow for creation of indexes for PostgeSQL and SQLite (#593)
* Allow for creation of indexes for PostgeSQL and SQLite

PostgreSQL and SQLite do not allow creation of general indexes within a `CREATE TABLE` statement, so a method is required to generate `CREATE INDEX` statements for these.

`create_table_from_entity` avoids creating invalid statements for non-MySQL backends,
forcing uses to explicitly run `create_index_from_entity`.  Ideally creating indexes would be removed from `create_table_from_entity` entirely, but this would introduce a breaking change for MySQL use.

* Remove index creation from create_table_from_entity

Use `create_index_from_entity` for all index creation for consistency across all backends.  This is a backwards incompatible change, affecting those using MySQL backend when creating the schema only.

* Revert change to join_8 test after migration to new indexes entity
2022-03-21 00:45:08 +08:00
Chris Tsang
fe1f763feb
Merge pull request #602 from SeaQL/support-time-crate
Supports `time` crate
2022-03-21 00:02:03 +08:00
Chris Tsang
c28d77df6d
Merge branch 'master' into support-time-crate 2022-03-20 23:48:29 +08:00
Billy Chan
3c0fe9bc0a
Update lib.rs 2022-03-16 18:18:27 +08:00
Billy Chan
4bc577b517
Update README.md 2022-03-16 18:17:59 +08:00
Aaron Leopold
7ba6144ead
Added axum graphql example (#587)
* added example for axum + graphql

* clean up

* removed macos file

* Pr/587 (#1)

* Migrate on startup

* Update CI

* Add .gitignore

* Add README

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-03-16 18:16:19 +08:00
Chris Tsang
49b63a00d4 update sea-query 2022-03-15 13:53:03 +08:00
Billy Chan
af235168db
Update README.md 2022-03-14 13:12:45 +08:00
Billy Chan
942f1a9914
Update lib.rs 2022-03-14 13:12:31 +08:00
Chris Tsang
005598b5e6 Changelog 2022-03-14 12:52:21 +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
Chris Tsang
b2954d84af Readme 2022-03-14 03:19:45 +08:00
Billy Chan
351efd0d6b
Update ActiveModel by JSON (#492)
* Update ActiveModel by JSON

* Add `ActiveModel::from_json`

* Update test cases
2022-03-13 18:41:32 +08:00
Billy Chan
9687819a7e
Supports time crate 2022-03-13 18:18:15 +08:00
Billy Chan
de57934061
Update README.md 2022-03-13 13:26:04 +08:00