232 Commits

Author SHA1 Message Date
Daniel Akhterov
3f83fcb24d Use tokio 2019-08-28 08:02:18 -07:00
Ryan Leckey
45f1c02027 Remove useless flush fn on postgres raw conn 2019-08-25 14:55:38 -07:00
Ryan Leckey
37c22eb55d Propagate some decode failures 2019-08-25 14:52:13 -07:00
Ryan Leckey
0d49de2d13 Remove broken benchmark 2019-08-25 14:06:59 -07:00
Ryan Leckey
c33530b25c Extract BufStream from PostgresRawConnection 2019-08-25 14:01:07 -07:00
Ryan Leckey
6c98ba01b8 Add inherent helpers to executors 2019-08-22 22:23:15 -07:00
Ryan Leckey
c5a3fc8d7e Split up RawQuery into QueryParameters and &str 2019-08-22 21:53:55 -07:00
Ryan Leckey
459a091f74 Initial work on moving to sqlx::Error 2019-08-22 19:59:03 -07:00
Ryan Leckey
aefcdd23fa Use postgres instead of pg for the module name 2019-08-22 19:59:03 -07:00
Ryan Leckey
9ed276d454
Update README.md 2019-08-21 21:53:51 -07:00
Ryan Leckey
7671fc403f
Update README.md 2019-08-21 21:51:59 -07:00
Ryan Leckey
9e64093860
Update README.md 2019-08-21 21:51:50 -07:00
Ryan Leckey
bb617f6fa1
Update README.md 2019-08-21 21:51:32 -07:00
Ryan Leckey
614df7fb66 Add various bits of documentation 2019-08-20 22:10:16 -07:00
Ryan Leckey
99e4d200b2 FromRow -> FromSqlRow 2019-08-20 21:42:25 -07:00
Ryan Leckey
b33bc3c017 Clean up SQL type (de)serialize 2019-08-20 21:01:19 -07:00
Ryan Leckey
2d5170d742 Prune dependency list and remove unused imports 2019-08-20 20:10:18 -07:00
Ryan Leckey
b0036ff4ce Use Backend as the type parameter for SqlQuery 2019-08-20 18:45:29 -07:00
Ryan Leckey
122700a789 Clean up examples 2019-08-20 18:26:37 -07:00
Ryan Leckey
6a18d0effd Wrap the query in a top-level SqlQuery to facilitate type inference. 2019-08-20 18:06:00 -07:00
Ryan Leckey
154cb51bf6 Run rustfmt 2019-08-20 16:47:43 -07:00
Ryan Leckey
ab847f76c4 Remove select benchmark, too variable 2019-08-20 16:29:20 -07:00
Ryan Leckey
87100dccef Remove useless comment 2019-08-20 16:23:11 -07:00
Ryan Leckey
5f30eca8b4
Merge pull request #8 from izik1/data-row-bytes
Get rid of unneeded bytes from `DataRow`s buffer
2019-08-20 16:23:04 -07:00
Zachery Gyurkovitz
a195364330 Get rid of unneeded bytes from DataRows buffer 2019-08-19 23:18:39 -07:00
Ryan Leckey
69cc962d7b Clean up Decode some more, Box some fields in Message 2019-08-19 22:10:28 -07:00
Ryan Leckey
09c744d0b9 Use NonNull with ParameterStatus 2019-08-19 21:30:07 -07:00
Ryan Leckey
1822d25b76 Improve postgres decode benchmarks 2019-08-19 20:56:39 -07:00
Ryan Leckey
e5d2283eb0
Merge pull request #7 from izik1/zg-debyte
Remove bytes from row decoding
2019-08-19 20:56:26 -07:00
Zachery Gyurkovitz
04cf2c9189 Remove bytes from row decoding 2019-08-19 19:02:45 -07:00
Ryan Leckey
0c4cfaf2fc Add benchmarks for decode performance of DataRow and optimize a bit 2019-08-19 15:31:36 -07:00
Ryan Leckey
5e001045e2 Update rust and dependencies 2019-08-19 12:25:01 -07:00
Ryan Leckey
0603cb677e Add Diesel DSL to the select bench 2019-08-18 20:53:19 -07:00
Ryan Leckey
2c9720ed81 Run rustfmt 2019-08-18 20:43:26 -07:00
Ryan Leckey
4a48955134 Rewrite DataRow to pre-slice the values using Pin and NonNull 2019-08-18 20:43:17 -07:00
Ryan Leckey
07d663a5d5 Use from_utf8_unchecked when we know its UTF-8 2019-08-18 20:42:56 -07:00
Ryan Leckey
cdf7453f8f Run rustfmt 2019-08-18 20:42:45 -07:00
Ryan Leckey
f79e901a3c Add diesel to select bench 2019-08-18 19:32:23 -07:00
Ryan Leckey
200c87d9f0 Make the Message enum smaller 2019-08-18 19:06:28 -07:00
Ryan Leckey
d0b9bda74f Use the pool to insert quickly 2019-08-18 19:06:15 -07:00
Ryan Leckey
9f8c510d36 Add a simple benchmark comparing SELECT performance 2019-08-18 19:06:06 -07:00
Ryan Leckey
c280ad587f Move to sqlx::query( ... ).execute style API 2019-08-18 18:33:45 -07:00
Ryan Leckey
b8857af916 Make examples work again, initial experiment with sqlx::Client 2019-08-10 16:36:20 -07:00
Ryan Leckey
186fa8928b Rework public API to be trait-focused 2019-08-10 15:31:13 -07:00
Daniel Akhterov
14c1a35789 Add result_set binary test 2019-08-09 22:38:56 -07:00
Daniel Akhterov
6f8b2edead WIP: Test 2019-08-09 22:35:16 -07:00
Ryan Leckey
ad81528b99 Add time measuring to contacts demo 2019-08-09 22:00:40 -07:00
Ryan Leckey
78b3ae4a19 Add connection string parsing for postgres, run rustfmt over mariadb, use constants for ErrorCode 2019-08-09 21:46:49 -07:00
Ryan Leckey
feaa209c33 Some notes 2019-08-08 18:18:29 -07:00
Ryan Leckey
fd4cc043ed Make Pool generic over Backend 2019-08-08 18:05:16 -07:00