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
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
Billy Chan
f418c4e580
Examples with migration ( #509 )
...
* Update examples sea-orm version
* Update example sea-schema version
* Update [cli] sea-schema version
* Fix [cli] cargo publish failed
* Update CHANGELOG
* Edit rocket example
* Poem example with migration
* Axum example with migration
* Refactoring
* Actix4 example with migration
* Actix example with migration
* Use sea_schema::migration::prelude
2022-02-09 11:45:04 +08:00
Chris Tsang
e9a460b47d
Fix build error
2022-02-07 21:40:05 +08:00
Chris Tsang
54b1f4a226
Use caret requirements
2022-02-07 21:32:35 +08:00
Chris Tsang
ea0342af06
use sea_schema::migration::prelude
2022-02-07 21:28:06 +08:00
Chris Tsang
f8ab11d36a
Use sea-schema 0.5.1
2022-02-07 21:27:22 +08:00
Billy Chan
cd98137ad0
Update examples sea-orm version
...
Update example sea-schema version
Update [cli] sea-schema version
2022-02-07 20:55:15 +08:00
Chris Tsang
09e2ac841a
Fix sea-orm dependency
2022-02-06 00:07:18 +08:00
Chris Tsang
3cde517d2a
Fix sea-schema dependency
2022-02-05 20:58:22 +08:00
Billy Chan
8eb095385d
Migration ( #335 )
...
* Refactor `ConnectionTrait`
* Refactoring
* Build index & foreign key statements
* Fix imports
* Fixup
* Rocket example with migration
* async-std compatible with the tokio 1.0 runtime
* Use reexported dependency
* Compile without selecting any db backend
* Updating sea-orm-cli dep
* sea-orm-cli migrate commands
* cargo fmt
* Test [cli]
* Refactoring
* Clap app name should be "sea-orm-cli"
* Correctly capture MIGRATION_DIR
* Rename README
* Add `sea-orm-cli migrate init` command
* Update README
* Try restructured sea-query dependency (SeaQL/sea-schema#41 )
* Set `DATABASE_URL` environment variable
2022-02-05 20:34:54 +08:00
Sunli
211029356c
Add Poem example
2022-01-13 12:24:42 +08:00
Chris Tsang
82bad4a376
0.5.0
2022-01-01 16:05:36 +08:00
Billy Chan
aa7254179f
Prepare for 0.5.0-rc.1 ( #404 )
...
* docs: edit changelog
* test: update examples' sea-orm version
* docs: edit changelog
2021-12-31 00:41:47 +08:00
Chris Tsang
d5c9c65079
Revert save
to return Self
2021-12-26 00:13:56 +08:00
Billy Chan
2d5aa2a61b
Log with tracing-subscriber ( #399 )
...
* chore: log examples with tracing-subscriber
* chore: log [issues] with tracing-subscriber
* chore: log [cli] with tracing-subscriber
* feat: tracing will emit log if tracing-subscriber is not setup
2021-12-24 23:59:37 +08:00
Billy Chan
adfb9ead54
Rework ActiveValue
( #340 )
...
* WIP
* Fixup
* Fixup
* Update docs & rename `unset`
* Deprecate `Unset()` and reexport `ActiveValue::NotSet`
* Docs
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2021-12-19 02:22:30 +08:00
Billy Chan
5104cd3573
Insert & Update Return Model
( #339 )
...
* Update insert & update API
* Update test cases
* Update README
* Fix clippy warnings
* Fixup
* Fixup
2021-12-18 14:30:10 +08:00
Chris Tsang
67a601ecca
Merge pull request #384 from Gabriel-Paulucci/master
...
Fix rocket version
2021-12-15 13:53:30 +08:00
Billy Chan
b2549576bc
Fix rocket_example
2021-12-15 12:25:12 +08:00
荒野無燈
951e678da5
refactor: update to Axum v0.4.2
...
Refs: https://github.com/tokio-rs/axum/blob/main/axum/CHANGELOG.md#042-06-december-2021
2021-12-15 02:59:17 +08:00
Billy Chan
d3acf4b156
Update tower-cookies
dependency
2021-12-03 18:10:26 +08:00
Chris Tsang
49ef619619
Update examples
2021-11-19 23:29:15 +08:00
Billy Chan
ac804a1642
Imports PaginatorTrait
by default making it backward compatible
2021-11-10 15:26:29 +08:00
jasper
4b11a10680
Update examples and test
2021-11-09 22:29:48 +08:00
Billy Chan
cb996d8460
Fix clippy warnings
2021-11-08 12:53:12 +08:00
Billy Chan
666a5bb068
cargo fmt
2021-11-08 12:50:38 +08:00
jasper
e0302173c2
Add axum example
2021-11-06 17:33:51 +08:00
Carter Snook
058f6d5d2b
chore: update to Rust Edition 2021 ( #273 )
2021-10-26 17:27:53 +08:00
Chris Tsang
349108dad6
Update examples
2021-10-16 02:10:32 +08:00
Chris Tsang
47f31fb27d
Edit Rocket example
2021-10-13 19:19:23 +08:00
Chris Tsang
608a49292f
Example of using a transaction
2021-10-13 16:51:12 +08:00
Chris Tsang
1d6e6066cd
Allow disable SQLx logging
2021-10-13 16:41:51 +08:00
Chris Tsang
bf595ca926
Use Figment config from Rocket
2021-10-13 15:54:49 +08:00
Chris Tsang
7bc6477091
Merge branch 'master' into transaction-3
2021-10-12 14:24:35 +08:00
Chris Tsang
f9dd9d242a
Edit
2021-10-12 13:42:24 +08:00
Chris Tsang
8feca6be7b
Edit
2021-10-12 12:21:17 +08:00
Chris Tsang
4a1b8fabc5
Rework Rocket Db Pool
2021-10-12 03:10:33 +08:00
Chris Tsang
c24d7704d9
Move examples #232
2021-10-09 14:38:43 +08:00
Chris Tsang
ab8fec21b3
Fix build errors
2021-10-04 12:09:50 +08:00
Chris Tsang
e7b822c65d
cargo fmt
2021-10-04 11:44:02 +08:00
Marco Napetti
02ebc9745c
Transaction 3
2021-10-04 11:39:16 +08:00
Chris Tsang
5c0a5be9ad
Readme
2021-10-02 14:20:49 +08:00
Chris Tsang
399715521e
Rename folder
2021-10-01 11:14:59 +08:00
Chris Tsang
50a8ae41c0
Tweaks
2021-10-01 11:11:48 +08:00
Sam Samai
0c2b0d608d
Port actix example to Actix 4 Beta
2021-09-23 22:00:30 +10:00
Chris Tsang
6861802a6d
Update Rocket & Actix examples
2021-09-22 18:02:50 +08:00
Chris Tsang
aeea07c8ba
Rocket example to use the clone interface
2021-09-22 16:59:21 +08:00
Chris Tsang
c80621916a
Fix conflict
2021-09-21 22:00:02 +08:00
Chris Tsang
aec111e035
Tweaks
2021-09-21 18:32:54 +08:00