Felipe Lessa
|
516af07713
|
Sqlite support for DateTime<{Utc,Local}>.
|
2020-06-27 12:08:00 +01:00 |
|
Felipe Lessa
|
4254735dcf
|
Update sqlite chrono support so it compiles.
|
2020-06-27 09:12:33 +01:00 |
|
Felipe Lessa
|
364845e530
|
Update tests/sqlite/setup.sql to match current tests.
|
2020-06-27 09:11:02 +01:00 |
|
Felipe Sere
|
333803c1ff
|
Correct table headings and only list types that are actually implemented
|
2020-06-27 08:25:07 +01:00 |
|
Felipe Sere
|
7c27065c09
|
First attempt at roundtripping chrono types through SQLite
|
2020-06-27 08:25:05 +01:00 |
|
Ryan Leckey
|
7beceba832
|
fix(sqlite, test): column overrides still have runtime type checking, use the correct Rust type to match the sql type
|
2020-06-25 05:34:52 -07:00 |
|
Ryan Leckey
|
991c0ba155
|
fix(sqlite): double negative in sqlite connection prepare
|
2020-06-25 05:34:14 -07:00 |
|
Ryan Leckey
|
8d1368f163
|
fix(sqlite): with caching disabled force persistent to false
additionally, set persistent to true for a cached statement and
correctly only reset the statement when its being reused
|
2020-06-25 03:44:26 -07:00 |
|
Ryan Leckey
|
8d24dfc0ef
|
feat(cache): expose capacity on StatementCache
|
2020-06-25 03:43:31 -07:00 |
|
Ryan Leckey
|
8600e5d9d2
|
Merge pull request #444 from pimeys/lru
LRU Statement Caching
|
2020-06-25 03:39:18 -07:00 |
|
Julius de Bruijn
|
363dbfb81e
|
No need to reset the statement when dropping.
|
2020-06-25 12:38:20 +02:00 |
|
Julius de Bruijn
|
745a32ab60
|
Close pg statements correctly
|
2020-06-25 12:26:44 +02:00 |
|
Julius de Bruijn
|
f969798cb6
|
Document new connection string params
|
2020-06-25 11:57:55 +02:00 |
|
Julius de Bruijn
|
2c2a277666
|
Caching methods in Connection
|
2020-06-25 10:44:05 +02:00 |
|
Julius de Bruijn
|
eba82e3fc1
|
LRU caching for SQLite
|
2020-06-24 19:46:32 +02:00 |
|
Julius de Bruijn
|
5d64310004
|
LRU caching for PostgreSQL
|
2020-06-24 19:01:54 +02:00 |
|
Julius de Bruijn
|
2b6f242a22
|
LRU statement cache for MySQL
|
2020-06-24 16:57:06 +02:00 |
|
Tim Murison
|
72c4e040bc
|
Require a mutable reference to self
|
2020-06-23 17:03:48 -07:00 |
|
Tim Murison
|
cac3f193d7
|
Adds a method get the underlying sqlite3 pointer
|
2020-06-23 17:03:48 -07:00 |
|
Zachery Gyurkovitz
|
2adfb1926a
|
misc: Don't deadname myself in the authors
|
2020-06-23 13:10:03 -07:00 |
|
Zachery Gyurkovitz
|
84e8ed0d4c
|
fix: bigdecimal decoding ob1 for positive weight multiples of 4
|
2020-06-23 13:10:03 -07:00 |
|
Ryan Leckey
|
f85920acaf
|
fix(postgres): ignore more harmless messages in execute
|
2020-06-21 22:09:00 -07:00 |
|
Austin Bonander
|
36a53b44cd
|
fix(macros): don't emit typechecking code for explicit type overrides on bind params
|
2020-06-21 06:06:53 -07:00 |
|
Austin Bonander
|
f2515e2472
|
feat(macros): support nullable column override
|
2020-06-21 06:06:53 -07:00 |
|
Austin Bonander
|
897c8f429a
|
doc(macros): document type override feature for macros
|
2020-06-21 06:06:53 -07:00 |
|
Austin Bonander
|
7b37ebde0f
|
fix(macros): forbid casts to _ in bind parameters
|
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
|
7d3d708d92
|
chore(macros): add test for column overrides for SQLite
|
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 |
|
Austin Bonander
|
14023e8e6e
|
feat(macros): support wildcard in bind param type overrides
|
2020-06-21 06:06:53 -07:00 |
|
Austin Bonander
|
eb831382e5
|
feat(macros): type override annotations for columns
|
2020-06-21 06:06:53 -07:00 |
|
Ryan Leckey
|
efc4df3eea
|
test: state only version 3 for docker-compose
|
2020-06-21 04:35:28 -07:00 |
|
Ryan Leckey
|
8800a40979
|
test: tokio or actix should import tokio in pool_smoke_test
|
2020-06-21 04:34:29 -07:00 |
|
Ryan Leckey
|
3dc067f031
|
fix: downgrade num-bigint due to conflicting version in rsa
|
2020-06-21 04:13:45 -07:00 |
|
Ryan Leckey
|
ec6b4be7fb
|
fix: rename Decode::accepts to Type::compatible for MSSQL / bool
|
2020-06-21 04:13:33 -07:00 |
|
Ryan Leckey
|
9abdd7e408
|
style: rustfmt
|
2020-06-21 04:08:17 -07:00 |
|
Ryan Leckey
|
7c4c185698
|
chore: update dependencies
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
4448c0e629
|
feat: add should_flush and only spawn on drop for PoolConnection if we need to flush
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
d76002e110
|
postgres: ignore more messages during execution if they are deemed not relevant
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
f8dc7284b9
|
chore: update dependencies
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
e7e2f5b37a
|
fix: implement transparent Serialize and Deserialize for Json<_>
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
93728a051c
|
fix: impl Deserialize for Json for MySQL instead of DeserializeOwned
|
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
|
8b4ef3f0b8
|
docs: add back type module documentation
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
21717b47a0
|
fix: AsyncStream should use a zero-capacity stream to ensure we run in lock-step
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
6cfe5ac811
|
refactor: tweak type name display to use TypeInfo::name
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
aaa475cc33
|
refactor: move Decode::accepts to Type::compatible
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
5ac7601fe2
|
docs: extend documentation on Encode/Decode
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
11e21e201c
|
feat: add a name method to TypeInfo
|
2020-06-21 03:55:31 -07:00 |
|
Ryan Leckey
|
e3adb88ab5
|
feat: disassociate Type from Decode further and require only Decode for FromRow + Row + Value
|
2020-06-21 03:55:31 -07:00 |
|