Billy Chan
2eda8aa3f2
Drop the use of sea-strum
and depends on the original strum
with a tailored EnumIter
provided ( #1535 )
...
* 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>
2023-03-22 11:47:15 +08:00
Billy Chan
91c4930391
Cleanup panic and unwrap ( #1231 )
...
* Add clippy linter checks
* Mock
* InnerConnection
* panic -> Err
* panic -> Err
* More panic -> Err
* Replace unwrap
* Fix clippy
* add clippy linters
* Refactor
* Dump DbErr::Mock
* Revert if...else rewrite
* Remove except
* DbErr helper functions
* Fix clippy
* Negative SQLite last_insert_rowid throw unreachable
* Update panics docs
* Fixup
* Fixup
* Fixup
* Fixup
* Revert adding `ExecResultHolder::Disconnected`
* More fixup
* Fix
* Revert adding `QueryResultRow::Disconnected`
* Fix
* Refactoring
* Fix
* Refactoring
* More refactoring
* More refactoring
* Fix
* Revert `InnerConnection::Disconnected`
* Revert breaking changes
* Fix
* Fix
* Fix
* Refactor `.take().expect()`
* Revert changing `if ... else` to `match` block
* Revert changing return type of `MockDatabaseConnection` transaction method
* Borrow sqlcipher_key
* Fetching unsupported type from query result will thrown `DbErr::Type(...)` error
* Revert adding `DatabaseConnection::try_into_transaction_log()` method
* Refactoring
* Refactoring
2023-02-02 00:02:53 +08:00
Chris Tsang
2cb9824a18
Mascot
2023-01-10 16:45:38 +08:00
Billy Chan
e246d3faaf
Cont. Upgrade to SeaQuery 0.28.0 ( #1366 )
...
* Upgrade to SeaQuery 0.28.0
* Remove unnecessary heap allocation
* Upgrade sea-query-binder
* Upgrade sea-schema
* Fix
* Upgrade sea-schema
* refactoring
Co-authored-by: Ivan Krivosheev <py.krivosheev@gmail.com>
2023-01-05 20:41:28 +08:00
Chris Tsang
19f0ecd0bc
Readme
2022-11-16 14:09:48 +08:00
Chris Tsang
0ac8ff8db7
Update Spyglass
2022-11-16 13:53:09 +08:00
Billy Chan
a0b3c58c5f
README
2022-11-14 14:43:14 +08:00
Billy Chan
0ca62ba145
Links to cookbook
2022-10-13 21:24:17 +08:00
Billy Chan
3c19d7c3e4
Exclude test_cfg module from SeaORM ( #1077 )
2022-10-06 23:45:09 +08:00
Horu
49c1a6d716
docs(readme): fix architecture link ( #1086 )
2022-10-03 12:12:39 +08:00
Billy Chan
5e34bcecbe
Edit README
2022-08-11 15:39:50 +08:00
Billy Chan
1a2090fb5e
Give a shout-out to our contributors
2022-08-10 13:40:18 +08:00
Billy Chan
710ef7a66b
Add example links
2022-07-26 14:50:55 +08:00
Billy Chan
b0ea1138b4
Update lib.rs
2022-07-07 15:20:43 +08:00
Billy Chan
ab2f784701
(de)serialize custom JSON types - 2 ( #794 )
...
* de(serialize) custom JSON types
* Rename DeriveTryGetableFromJson -> FromJsonQueryResult
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-07-01 01:27:46 +08:00
Billy Chan
1054d6451c
Use file!()
macro to avoid manually defining the name of migration ( #736 )
...
* Add `DeriveMigrationName`
* CLI migrate generate without replacing migration name
* Update migrations
* Fixup
2022-06-29 00:42:59 +08:00
Billy Chan
b59f3c58de
cargo fmt
2022-05-13 18:20:59 +08:00
Chris Tsang
b51b1f63d8
Readme
2022-05-13 00:33:07 +08:00
Billy Chan
664f42d22d
cargo fmt
2022-04-26 12:24:17 +08:00
Chris Tsang
66ba234156
Readme
2022-04-18 23:53:47 +08:00
Chris Tsang
2e12e29c38
Readme
2022-04-18 23:17:52 +08:00
Chris Tsang
ac1071a778
Readme
2022-04-05 21:25:58 +08:00
Chris Tsang
31edb2c409
Rename
2022-04-05 21:23:55 +08:00
Chris Tsang
6175166c79
Add jsonrpsee to example list
2022-04-03 22:16:05 +08:00
Chris Tsang
311a14a470
Rename example
2022-04-03 22:12:48 +08:00
Billy Chan
6091629adb
cargo fmt
2022-03-25 15:25:49 +08:00
Billy Chan
3c0fe9bc0a
Update lib.rs
2022-03-16 18:18:27 +08:00
Billy Chan
942f1a9914
Update lib.rs
2022-03-14 13:12:31 +08:00
Chris Tsang
b2954d84af
Readme
2022-03-14 03:19:45 +08:00
Chris Tsang
0a26dee674
Readme
2022-03-09 00:21:34 +08:00
Chris Tsang
0f0b482931
Readme
2022-03-09 00:14:33 +08:00
Billy Chan
858953b478
cargo fmt
2022-02-17 15:44:40 +08:00
Billy Chan
56cf4ea662
Update README.md
2022-02-15 23:32:52 +08:00
Sunli
211029356c
Add Poem example
2022-01-13 12:24:42 +08:00
Chris Tsang
d5c9c65079
Revert save
to return Self
2021-12-26 00:13:56 +08:00
Chris Tsang
47cbf50c3c
Merge branch 'master' into pulls/361
2021-12-25 17:41:29 +08:00
Billy Chan
17631512bb
feat(Model): add wrapper method delete
2021-12-21 18:24:05 +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
Billy Chan
4072e74284
cargo fmt
2021-12-17 11:14:54 +08:00
Marco Napetti
6b94673dd9
First metric and tracing implementation
2021-12-09 15:12:41 +01:00
Billy Chan
af1ffdad83
Rename sea-strum
lib back to strum
2021-12-07 17:21:03 +08:00
Chris Tsang
cc4904993a
Readme
2021-11-24 00:56:01 +08:00
Chris Tsang
d952a3e42a
Readme
2021-11-21 17:57:33 +08:00
Chris Tsang
af3632de11
New tagline
2021-11-21 17:46:47 +08:00
Chris Tsang
3df0b941c8
Merge pull request #258 from SeaQL/active-enum
...
Enumeration
2021-11-08 15:53:25 +08:00
Chris Tsang
0d4a237d1c
Readme badges
2021-11-08 13:48:05 +08:00
Billy Chan
0bbb50b7f6
Merge remote-tracking branch 'origin/master' into active-enum
2021-11-03 10:52:29 +08:00
Billy Chan
158893c540
Enable missing_docs
lint
2021-11-02 14:31:28 +08:00
Billy Chan
6018d3f1b9
Merge remote-tracking branch 'origin/master' into active-enum
2021-11-02 12:18:37 +08:00