Ryan Leckey
|
2f78ce094c
|
mysql: use correct default port
|
2020-03-17 22:02:01 -07:00 |
|
Ryan Leckey
|
0a534792bb
|
remove unused import in macros
|
2020-03-17 22:00:26 -07:00 |
|
Ryan Leckey
|
838565d29a
|
use sqlite fixture db in CI
|
2020-03-17 21:47:35 -07:00 |
|
Ryan Leckey
|
d380f4b4a8
|
remove is_null_type and use Option<TypeInfo>
|
2020-03-17 21:43:41 -07:00 |
|
Ryan Leckey
|
927e2b1586
|
describe: fix Debug of Column
|
2020-03-17 21:34:12 -07:00 |
|
Ryan Leckey
|
b04f2cbd4d
|
sqlite: fix detection of INT and CHAR types
|
2020-03-17 21:34:01 -07:00 |
|
Ryan Leckey
|
1da6feac56
|
postgres: use inventory_item from fixture ( still need type name resolution for the test to work reliably )
|
2020-03-17 21:33:51 -07:00 |
|
Ryan Leckey
|
a3f7029346
|
sqlite: assert what we get back from the db (it is a fixture)
|
2020-03-17 21:33:29 -07:00 |
|
Ryan Leckey
|
96f1dd76bc
|
macros: sqlite: add support for bool
|
2020-03-17 21:33:14 -07:00 |
|
Ryan Leckey
|
ec97dfb884
|
tweak fixtures to add more columns and add some initial for postgres/mysql
|
2020-03-17 21:32:57 -07:00 |
|
Austin Bonander
|
6cea7e2c1b
|
macros: add proper test for sqlite using database file
|
2020-03-17 21:10:19 -07:00 |
|
Austin Bonander
|
8328e07c97
|
macros + sqlite: fix error for null-typed columns
|
2020-03-17 21:10:19 -07:00 |
|
Ryan Leckey
|
2a76123bc3
|
Merge pull request #134 from launchbadge/derives
Add derives to support custom types
|
2020-03-17 20:04:19 -07:00 |
|
Ryan Leckey
|
fb5db48c52
|
Don't test custom records until we have some kind of fixtures
|
2020-03-17 19:42:23 -07:00 |
|
Ryan Leckey
|
ff722d0e62
|
Run rustfmt
|
2020-03-17 19:35:01 -07:00 |
|
Ryan Leckey
|
f7e08ea4d8
|
Remove mention of old derives test
|
2020-03-17 19:33:20 -07:00 |
|
Ryan Leckey
|
fb04f4e26a
|
Merge pull request #135 from bmisiak/patch-1
postgres: remove IntervalStyle to fix #130
|
2020-03-17 19:29:32 -07:00 |
|
Ryan Leckey
|
d77b2b1e97
|
derives: update for new Decode/Encode traits and extensively test in usage
|
2020-03-17 19:26:59 -07:00 |
|
Ryan Leckey
|
21059620dc
|
mysql: support understanding ENUM as TEXT
|
2020-03-17 19:26:31 -07:00 |
|
Ryan Leckey
|
c1e6b2045c
|
postgres: support null in a record
|
2020-03-17 19:26:15 -07:00 |
|
Brian Misiak
|
459828ee3d
|
postgres: remove IntervalStyle to fix #130
Support more server versions, including CockroachDB, which only supports the `postgres` style.
|
2020-03-17 17:55:27 -07:00 |
|
Ryan Leckey
|
100602187f
|
memo: add more documentation to the database module
|
2020-03-17 16:33:44 -07:00 |
|
Ryan Leckey
|
4fc5e65f5d
|
derives: update transparent
|
2020-03-17 03:24:08 -07:00 |
|
Ryan Leckey
|
602e61ab27
|
postgres: add support for decoding anonymous tuples and more fully test encoding/decoding records
|
2020-03-17 02:47:37 -07:00 |
|
Ryan Leckey
|
4e7b1b51e0
|
sqlite: handle encoding nulls
|
2020-03-17 01:13:32 -07:00 |
|
Ryan Leckey
|
a5d17eab00
|
add derive(Debug) for PgValue
|
2020-03-17 01:13:15 -07:00 |
|
Ryan Leckey
|
ced6713f57
|
add trailing newline
|
2020-03-17 01:11:15 -07:00 |
|
Ryan Leckey
|
c76b3147d5
|
remove profile config from Cargo.toml
|
2020-03-17 01:11:00 -07:00 |
|
Tom Dohrmann
|
62b591e63a
|
use iterator change in expand_derive_strong_enum
|
2020-03-16 22:58:31 -07:00 |
|
Tom Dohrmann
|
8841f83e68
|
removed unused imports
|
2020-03-16 22:58:31 -07:00 |
|
Tom Dohrmann
|
a600b5b856
|
add tests for postgres struct field encoding
|
2020-03-16 22:58:31 -07:00 |
|
Tom Dohrmann
|
6baddae9fd
|
fix error messages
|
2020-03-16 22:58:31 -07:00 |
|
Tom Dohrmann
|
a2ba26dc7e
|
add explanation for size_hint
|
2020-03-16 22:58:31 -07:00 |
|
Tom Dohrmann
|
7185f1ff25
|
switch from vecs to iterator chains
|
2020-03-16 22:58:31 -07:00 |
|
Tom Dohrmann
|
4cd179d42b
|
move decode_struct_field and encode_struct_field to sqlx-core
|
2020-03-16 22:58:31 -07:00 |
|
freax13
|
e603f5fcf6
|
split derives into different files
|
2020-03-16 22:58:25 -07:00 |
|
Tom Dohrmann
|
9c96bc92ee
|
move feature guard from strong_enum to struct
|
2020-03-16 22:58:25 -07:00 |
|
Tom Dohrmann
|
d3cb84b893
|
fix db type
|
2020-03-16 22:58:25 -07:00 |
|
Tom Dohrmann
|
e166f062be
|
format
|
2020-03-16 22:58:25 -07:00 |
|
Tom Dohrmann
|
c3aeb275c2
|
add derive macros for weak & strong enums and structs
|
2020-03-16 22:58:25 -07:00 |
|
Ryan Leckey
|
ada57fa566
|
postgres depends on Sink from futures
|
2020-03-16 22:55:25 -07:00 |
|
Ryan Leckey
|
e0ca521889
|
cursor: for now, add #[doc(hidden)] to from_connection and from_pool as we look for ways to remove them
|
2020-03-16 22:51:55 -07:00 |
|
Ryan Leckey
|
d8f3953d9d
|
depend on std feature in futures-channel
|
2020-03-16 20:32:36 -07:00 |
|
Ryan Leckey
|
4869f48f84
|
sqlite: don't leak on connection failure
|
2020-03-16 20:30:28 -07:00 |
|
Ryan Leckey
|
48714e8ea9
|
Remove unused import in postgres/listen.rs
|
2020-03-16 20:00:36 -07:00 |
|
Ryan Leckey
|
c44084dd11
|
move around re-exports
|
2020-03-16 19:54:46 -07:00 |
|
Ryan Leckey
|
0e3eb7ce39
|
postgres: listen: go back to Vec<String> for channels
|
2020-03-16 19:54:38 -07:00 |
|
Ryan Leckey
|
57d414f15c
|
sqlite: fix impl of DatabaseError
|
2020-03-16 19:54:24 -07:00 |
|
Ryan Leckey
|
e99e80cf94
|
listen: merge PgListener and PgPoolListener; allow PgListener to be used as an Executor; allow channels to be adjusted at run-time
|
2020-03-16 18:35:37 -07:00 |
|
Ryan Leckey
|
ed9d6c3b62
|
pool: handle reconnects during "boot"
|
2020-03-16 18:34:09 -07:00 |
|