Commit graph

796 commits

Author SHA1 Message Date
Ryan Leckey
9be1512833 mysql: use double literals in test 2020-03-18 23:16:56 -07:00
Ryan Leckey
493e520c4e test: capture logs in test driver 2020-03-18 23:16:56 -07:00
Ryan Leckey
a3a97fc0a4
Update README.md 2020-03-18 22:51:31 -07:00
Ryan Leckey
0c4c80a51f Add more detail to description in Cargo.toml 2020-03-18 22:48:46 -07:00
Ryan Leckey
2a8906d1e5 add more documentation 2020-03-18 22:46:44 -07:00
Ryan Leckey
c2dee0cf5a rustdoc only supports text blocks 2020-03-18 22:46:44 -07:00
Ryan Leckey
1fc18460b0 transaction: document, test, and fix operation of nested transactions 2020-03-18 22:46:44 -07:00
Ryan Leckey
f7fd83381d Move RefExecutor into a now public executor module 2020-03-18 22:46:44 -07:00
Ryan Leckey
d5a20e2358
Update CHANGELOG.md 2020-03-18 22:34:34 -07:00
Ryan Leckey
818adbb0a7
Update CHANGELOG.md 2020-03-18 22:33:13 -07:00
Ryan Leckey
8be737a972
Update CHANGELOG.md 2020-03-18 22:31:45 -07:00
Ryan Leckey
19fc38342e
Update CHANGELOG.md 2020-03-18 22:29:26 -07:00
Ryan Leckey
829f37793a Re-export PgRecordEncoder and PgRecordDecoder 2020-03-18 22:11:02 -07:00
Ryan Leckey
5809f8687c Merge remote-tracking branch 'origin/ab/bigdecimal' 2020-03-18 22:09:27 -07:00
Ryan Leckey
dfb313f0c6 Add Postgres <-> Rust type documentation 2020-03-18 22:08:32 -07:00
Ryan Leckey
cb67ed0300 Make PgTypeInfo::oid doc(hidden) 2020-03-18 22:08:18 -07:00
Ryan Leckey
c0609765a5 Update CHANGELOG 2020-03-18 21:50:38 -07:00
Austin Bonander
33677e86a8 move PgNumeric[Sign], PgRecord[Encoder,Decoder] to hidden postgres::types::raw
fix errors
2020-03-18 19:36:54 -07:00
Austin Bonander
7ffec2fef8 remove .expect() in impl TryFrom<PgNumeric> for BigDecimal 2020-03-18 19:12:14 -07:00
Austin Bonander
979c5cc944 remove unnecessary comment and update Cargo.lock 2020-03-18 19:09:10 -07:00
Austin Bonander
3a43e939e3 refactor PgNumeric so NaN can't be misinterpreted, document types 2020-03-18 19:06:14 -07:00
Ryan Leckey
63f5592ecf postgres: be explicit about an expression type for a test 2020-03-18 19:06:14 -07:00
Ryan Leckey
40e1df78f1 fix test_type! when a NULL comes through 2020-03-18 19:06:14 -07:00
Austin Bonander
b7aabaa0ec numeric/bigdecimal modules: fix warnings 2020-03-18 19:06:14 -07:00
Austin Bonander
3cb42def3b macros: add support for Postgres + BigDecimal 2020-03-18 19:06:14 -07:00
Austin Bonander
703dad8fcf add BigDecimal tests to CI 2020-03-18 19:06:14 -07:00
Austin Bonander
94c40b3eb7 Postgres: implement numeric and BigDecimal support 2020-03-18 19:06:14 -07:00
Ryan Leckey
06be59f7f0 Remove MaybeOwned 2020-03-18 17:08:44 -07:00
Ryan Leckey
d1af2fe1b0 Prepare v0.3.0-alpha.1 2020-03-18 16:58:42 -07:00
Ryan Leckey
9d9d2bbfd4 Update dependencies 2020-03-18 16:56:24 -07:00
Ryan Leckey
6f4c478fb7 sqlite: fix NULL handling 2020-03-18 16:52:27 -07:00
Ryan Leckey
582e260d83
Merge pull request #133 from launchbadge/ab/sqlite-macros-fix
fix SQLite + macros
2020-03-17 22:26:09 -07:00
Ryan Leckey
ebda944581 mysql: unwrap type infos 2020-03-17 22:02:20 -07:00
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