408 Commits

Author SHA1 Message Date
Ryan Leckey
fba075ec02 Turn on more tests in test.sh 2019-12-30 02:10:09 -08:00
Ryan Leckey
19e38ab8d3 [MySQL] [Postgres] Add support for BLOB and BYTEA types 2019-12-30 02:10:09 -08:00
Ryan Leckey
27759a12c7 [MySQL] Allow not specifying database on initial connect 2019-12-30 02:10:09 -08:00
Ryan Leckey
1d2240848b [Postgres] Add integration test for Chrono + Postgres 2019-12-30 02:10:09 -08:00
Ryan Leckey
c325feaf9a [MySQL] Configure connection on open 2019-12-30 02:10:09 -08:00
Ryan Leckey
2a42ff9f0d [MySQL] Add an integration tests for chrono + MySQL and fix issues 2019-12-30 02:10:09 -08:00
Ryan Leckey
e161787952 [MySQL] Rename ty.flag to ty.is_unsigned 2019-12-30 02:10:09 -08:00
Ryan Leckey
3a645a1824 [MySQL] Don't adjust the raw bytes coming to the Decode trait
This is a minor adjustment that keeps parity between Encode and Decode
2019-12-30 02:10:09 -08:00
Ryan Leckey
133e9d757f Add initial, empty CHANGELOG 2019-12-30 02:10:09 -08:00
Austin Bonander
395564d9dc
Merge pull request #12 from ahoetker/master
fix minor typo
2019-12-28 21:15:27 -08:00
Andrew Hoetker
4f0fc16c62
fix minor typo
Fixed misspelling of 'beginnings' in README.md
2019-12-29 15:42:25 +11:00
Ryan Leckey
2068f05482 Update dependencies 2019-12-28 04:02:52 -08:00
Ryan Leckey
5e719917c0 Run rustfmt 2019-12-28 03:45:47 -08:00
Ryan Leckey
f67872cbcf Add some ground work for #1 2019-12-28 03:45:37 -08:00
Ryan Leckey
48c8d4c100 Add license to sqlx-macros Cargo.toml 2019-12-28 02:44:32 -08:00
Ryan Leckey
86ac601872 Prepare v0.1.1 v0.1.1 2019-12-28 02:42:51 -08:00
Austin Bonander
156efd0c6a README edits 2019-12-28 02:38:53 -08:00
Austin Bonander
c98c49ad47 fix docs and guarantees for pool 2019-12-28 02:02:29 -08:00
Ryan Leckey
4db1f70ae1
Update README.md 2019-12-28 01:41:07 -08:00
Ryan Leckey
382124fe57
Update README.md 2019-12-28 01:37:02 -08:00
Ryan Leckey
dc43d3ee2f Merge branch 'master' of ssh://github.com/mehcode/sqlx 2019-12-28 01:01:50 -08:00
Ryan Leckey
e16c043bf9 Add basic docs to MySql and Postgres Connection 2019-12-28 01:01:45 -08:00
Austin Bonander
af4b5b753d fixup docs for Query/QueryAs/Executor 2019-12-28 00:56:55 -08:00
Ryan Leckey
7b8ef0f46b Add more authors 2019-12-28 00:36:37 -08:00
Ryan Leckey
ef98ff2828 Add repo/desc to sub crates 2019-12-28 00:25:04 -08:00
Ryan Leckey
3cb9ddb8c6 Apply auto ref fixes to example 2019-12-28 00:23:04 -08:00
Austin Bonander
2c424b6d63 allow slices to be passed to query!()
capture args by ref
2019-12-27 23:30:06 -08:00
Ryan Leckey
98269ddd20 Fix several nits from Clippy and add back chrono support for MySql 2019-12-27 23:16:13 -08:00
Ryan Leckey
8626cf5ba8 Tweak macro to only accept literals 2019-12-27 23:11:23 -08:00
Ryan Leckey
61237b8503 Implement Register and GetCurrentUser for RealWorld 2019-12-27 22:47:39 -08:00
Ryan Leckey
9b0f34b0ce Fix a couple minor nits with Pool and run rustfmt 2019-12-27 22:47:25 -08:00
Ryan Leckey
a23bfb60eb Clean up the example a touch 2019-12-27 21:50:13 -08:00
Ryan Leckey
017ee38725 De-duplicate error impls and forward MySqlConnection/PgConnection to crate root 2019-12-27 21:50:13 -08:00
Austin Bonander
7d745f98ea implement query_as!() et al, document query macros 2019-12-27 21:45:31 -08:00
Ryan Leckey
56a82346f2 Run cargo fmt 2019-12-27 20:44:03 -08:00
Ryan Leckey
9186400668
Update README.md 2019-12-27 17:31:53 -08:00
Ryan Leckey
d76b1357da Audit MySql and Postgres protocols 2019-12-27 17:31:01 -08:00
Austin Bonander
5c7661985e don't typecheck parameters on MySQL 2019-12-19 23:26:59 -08:00
Austin Bonander
b85618e5f8 fix errors from .send_raw() additions that I didn't catch 2019-12-19 23:26:59 -08:00
Austin Bonander
892a179787 set default max_lifetime in pool::Options to 30 minutes and explain why 2019-12-19 23:26:59 -08:00
Austin Bonander
786deecc36 replace bitflags::_core with std
for some reason IntelliJ-Rust reaches for this first
2019-12-19 18:46:37 -08:00
Austin Bonander
5192983093 implement Executor::send() 2019-12-19 18:46:37 -08:00
Austin Bonander
56875a8931 finish discussed refactors 2019-12-18 23:02:01 -08:00
Austin Bonander
8aa931356f WIP implement statement caching for MySQL, perform discussed refactors 2019-12-18 23:02:01 -08:00
Austin Bonander
e11f5bcaa7 allow chrono to be used with query!() 2019-12-18 23:02:01 -08:00
Austin Bonander
d8d93867b7 implement prepared statement caching for postgres 2019-12-18 23:02:01 -08:00
Daniel Akhterov
0865549175
Merge pull request #45 from mehcode/ab/outatime
implement support for chrono
2019-12-12 18:02:56 -08:00
Austin Bonander
ca3fbd740a implement support for chrono
fix tests
2019-12-11 19:59:41 -08:00
Austin Bonander
6e2e3bcb49 use dotenv in integration tests 2019-12-11 19:59:23 -08:00
Daniel Akhterov
918657638b Test all number types and String type 2019-12-05 21:36:09 -08:00