Commit graph

299 commits

Author SHA1 Message Date
Austin Bonander
1733adaad7 fix comments, errors and run rustfmt 2019-11-19 19:55:17 +00:00
Austin Bonander
2ab07798fc fix sqlx-macros/Cargo.toml 2019-11-19 19:55:17 +00:00
Austin Bonander
d3df2dd210 "prepare" -> "describe" and use unnamed statement 2019-11-19 19:55:17 +00:00
Austin Bonander
5cbd3f9e20 fix clippy, rustfmt errors 2019-11-19 19:55:17 +00:00
Austin Bonander
8d844033f7 remove src/bin/cargo-sqlx.rs 2019-11-19 19:55:17 +00:00
Austin Bonander
22f3d6cae1 implement binary types for MariaDB 2019-11-19 19:55:17 +00:00
Austin Bonander
bbdc03c576 unified prepared statement interface 2019-11-19 19:55:17 +00:00
Austin Bonander
c993e4eee0 hide and comment on the existence of TyCons[Ext] 2019-11-19 19:55:17 +00:00
Austin Bonander
0e137e107a proof of concept, infer sql types as rust types at compile time 2019-11-19 19:55:17 +00:00
Austin Bonander
b05ec7686a add parameter support to the sqlx macro 2019-11-19 19:54:23 +00:00
Austin Bonander
3a76f9d207 prototyping sql!() macro 2019-11-19 19:54:23 +00:00
Austin Bonander
298421b45a prototyped statement preparation 2019-11-19 19:54:23 +00:00
Austin Bonander
f7d743f673 prototyping compile-time checked sql macro 2019-11-19 19:54:23 +00:00
Ryan Leckey
57a5b56760 Minor tweaks and remove some commented code 2019-11-18 14:51:44 +00:00
Ryan Leckey
5b6c4ad8fa Re-arrange tests for postgres connection 2019-09-11 22:25:41 -07:00
Ryan Leckey
1b855f581b Update dependencies (remove git patch for async-stream) 2019-09-11 11:26:15 -07:00
Ryan Leckey
b23b42e554 Restrict #[allow(unused)] to mariadb::protocol 2019-09-11 11:25:23 -07:00
Ryan Leckey
b185dcfb0e Update rustc 2019-09-10 23:46:22 -07:00
Ryan Leckey
b911297586 Export MariaDb from root 2019-09-10 23:44:38 -07:00
Ryan Leckey
64a2b3bb12 Merge branch 'master' of ssh://github.com/mehcode/sqlx 2019-09-10 23:31:14 -07:00
Ryan Leckey
b52c0e3d8e Minor change to the tagline 2019-09-10 23:31:12 -07:00
Daniel Akhterov
f36d9bb9ba Update ToSql and FromSql to be Db dependent 2019-09-10 23:29:11 -07:00
Ryan Leckey
b22203f98c Remove (now) unused options file 2019-09-10 23:23:25 -07:00
Daniel Akhterov
62f11b5b0b Add mariadb tests and HasSql 2019-09-10 23:14:39 -07:00
Ryan Leckey
fb877fee28 Adjust mariadb for async-trait usage 2019-09-10 22:51:23 -07:00
Ryan Leckey
47b06edad1 Run rustfmt 2019-09-10 22:31:18 -07:00
Ryan Leckey
969f3fd153 Factor out a separation between RawConnection and Connection (and add async_trait) 2019-09-10 22:31:01 -07:00
Daniel Akhterov
351affc617 Update mariadb connection to be able to prepare and execute 2019-09-10 21:48:46 -07:00
Ryan Leckey
188982e12c [mariadb] WIP connection 2019-09-10 18:07:05 -07:00
Ryan Leckey
d5a543d5cf [mariadb] fix protocol tests 2019-09-10 17:49:21 -07:00
Ryan Leckey
01dbcd3ff5 [mariadb] export more from protocol 2019-09-10 17:47:04 -07:00
Ryan Leckey
c29e0d3547 [mariadb] finish refactor of binary protocol 2019-09-10 17:45:24 -07:00
Ryan Leckey
22c889b472 [mariadb] Finish changes to the Text protocol 2019-09-09 23:40:08 -07:00
Ryan Leckey
4b2b08e63a Remove more from types that have been moved out 2019-09-06 14:51:21 -07:00
Ryan Leckey
837e12d797 Move protocol around a bit more and work more towards the refactor 2019-09-06 14:50:57 -07:00
Ryan Leckey
8ada85ef62 Fix visible tests in mariadb protocol 2019-09-06 14:14:35 -07:00
Ryan Leckey
6949b35eec More work towards mariadb protocol refactor 2019-09-05 15:20:41 -07:00
Ryan Leckey
94fe35c264 More work towards mariadb protocol refactor 2019-09-05 13:37:43 -07:00
Ryan Leckey
b0707bba7b More work towards refactoring packets in MariaDb 2019-09-04 22:32:15 -07:00
Daniel Akhterov
6dc196707d WIP 2019-09-04 20:57:17 -07:00
Ryan Leckey
dce5718981 Clean up Pool/Connection impl and allow an explicit checkout from Pool to Connection 2019-09-04 17:56:58 -07:00
Ryan Leckey
7bf023b742 Add some tests and fix fetch_optional / fetch_one behavior 2019-09-03 08:46:09 -07:00
Ryan Leckey
56a53f6c98 Comment out failure in Cargo.toml 2019-09-03 07:41:25 -07:00
Ryan Leckey
0a2b1151c1 Add fetch_one and fetch_all (fetch -> Vec) helpers 2019-09-03 07:29:38 -07:00
Ryan Leckey
d36366ef41 Clean up warnings 2019-09-03 07:17:17 -07:00
Ryan Leckey
7b992f2829 Remove leading = in dependency versions 2019-09-03 06:56:22 -07:00
Ryan Leckey
451e0ee73f Parse outputs a statement, not a portal 2019-09-03 06:54:51 -07:00
Ryan Leckey
0c945cbbe2 Remove the WIP statement caching (to add back properly later) 2019-09-03 06:54:37 -07:00
Ryan Leckey
e903884451 Update dependencies 2019-09-02 17:39:04 -07:00
Ryan Leckey
d4096cf2a4 Make more modules private and opt to expose some types/traits directly 2019-09-02 17:25:13 -07:00