Ryan Leckey
|
e575501a39
|
feat: add Executor::prepare, a hook into the automatic statement preparation life-cycle
|
2020-07-24 07:24:23 -07:00 |
|
Julius de Bruijn
|
e8a4c54ac7
|
Allow setting caching per-query
|
2020-07-24 07:24:23 -07:00 |
|
Julius de Bruijn
|
0c9bea4ab2
|
Fixing panics for disabled statement cache
|
2020-07-24 07:24:23 -07:00 |
|
Julius de Bruijn
|
590f97df4a
|
Caching describe
|
2020-07-24 07:24:23 -07:00 |
|
Ryan Leckey
|
cf78472d6d
|
fix(mysql): gate com_stmt_execute encode on non-empty params, not non-null params
|
2020-07-20 21:49:30 -07:00 |
|
Ryan Leckey
|
96b76dc737
|
update todo examples to 0.4 and use migrations
* update tests/x.py
* add examples/x.py
|
2020-07-18 05:43:16 -07:00 |
|
Ryan Leckey
|
54c857b448
|
fix some remaining usage of PoolOptions
|
2020-07-14 06:33:36 -07:00 |
|
Ryan Leckey
|
00137d4a04
|
feat: add sqlx::Done and return from Executor::execute()
+ Done::rows_affected()
+ Done::last_insert_id()
|
2020-07-14 04:31:25 -07:00 |
|
Ryan Leckey
|
93cab2a197
|
test: more pool usage adjustments
|
2020-07-12 05:02:40 -07:00 |
|
Ryan Leckey
|
fc682fa991
|
fix: adjust pool usage in tests and examples
|
2020-07-12 04:42:48 -07:00 |
|
Julius de Bruijn
|
f246d41aed
|
Fixed an overflow with a negative scale
|
2020-07-09 12:32:19 -07:00 |
|
Julius de Bruijn
|
245d53e484
|
Test Decimal conversions in my and pg
|
2020-07-09 12:32:19 -07:00 |
|
Ryan Leckey
|
8d188c5f1a
|
feat: expose column information on Row
- add database-specific Column types: MySqlColumn, PgColumn, etc.
- add Row::columns() -> &[DB::Column]
- add Row::column(I) and Row::try_column(I)
|
2020-07-05 03:48:36 -07:00 |
|
Ryan Leckey
|
0def87b689
|
fix(derives): lift requirement of Copy + Clone on weak enums
|
2020-07-04 03:14:42 -07:00 |
|
Ryan Leckey
|
6a251efb65
|
fix(mysql): enum type derive and column overrides need to deref before eq
|
2020-07-04 02:59:56 -07:00 |
|
Ryan Leckey
|
0824723765
|
fix: handle zero dates in MySQL, emit as Option::None (treat as NULL)
|
2020-07-03 05:50:06 -07:00 |
|
Peter Maatman
|
eda0b7dea4
|
mysql: Fix decoding of TIME '00:00:00.000000'
Fixes #418
|
2020-06-29 04:33:25 -07:00 |
|
Julius de Bruijn
|
2c2a277666
|
Caching methods in Connection
|
2020-06-25 10:44:05 +02:00 |
|
Julius de Bruijn
|
2b6f242a22
|
LRU statement cache for MySQL
|
2020-06-24 16:57:06 +02:00 |
|
Austin Bonander
|
f2515e2472
|
feat(macros): support nullable column override
|
2020-06-21 06:06:53 -07:00 |
|
Austin Bonander
|
029ba24cad
|
chore(macros): add tests for bind parameter overrides
|
2020-06-21 06:06:53 -07:00 |
|
Austin Bonander
|
1a250976ba
|
chore(macros): add test for column overrides for MySQL
|
2020-06-21 06:06:53 -07:00 |
|
Ryan Leckey
|
e7e2f5b37a
|
fix: implement transparent Serialize and Deserialize for Json<_>
|
2020-06-21 03:55:31 -07:00 |
|
Peter Maatman
|
90242494a8
|
test: expose missing trait bounds for Json<Vec<x>>
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
a2c55b9f31
|
fix(mysql): tweak JSON type so it accepts BINARY in addition to CHAR (and make tests pass in MySQL 5.5)
|
2020-06-10 00:43:14 -07:00 |
|
Peter Maatman
|
2a5ea2f71b
|
mysql: always use column alias when available
If a query has a column alias available we should use that name instead
of the column name.
Fixes #385
|
2020-06-10 00:42:58 -07:00 |
|
Ryan Leckey
|
e1d22a1840
|
fix(core): async-stream crate seems to lose the stream if the stream owns the object we are streaming
hand-rolled a copy of the idea behind AsyncStream and things seem to work
|
2020-06-09 02:16:47 -07:00 |
|
Peter Maatman
|
2677046a3b
|
test: add test case for fetch_all bug with pool
|
2020-06-08 02:36:17 -07:00 |
|
Ryan Leckey
|
e54d030381
|
fix(mysql): str should produce VARCHAR not BLOB
|
2020-06-08 02:30:21 -07:00 |
|
Ryan Leckey
|
53c074130f
|
Merge remote-tracking branch 'origin/ab/macro-fixes'
|
2020-06-07 02:35:12 -07:00 |
|
Ryan Leckey
|
9a701313bc
|
feat(mssql): implement enough to get simple queries working
Co-authored-by: Daniel Akhterov <akhterovd@gmail.com>
|
2020-06-07 02:00:12 -07:00 |
|
Austin Bonander
|
80b4e2fca6
|
fix(macros): reintroduce and fix macro tests for MySQL
|
2020-06-05 21:02:24 -07:00 |
|
Ryan Leckey
|
0c80aa4f2c
|
test: add a test to prove #363 works
|
2020-06-01 16:58:48 -07:00 |
|
Ryan Leckey
|
e5b6047009
|
feat: introduce docker-compose based testing for running locally against many database combinations
|
2020-05-30 17:51:55 -07:00 |
|