Ryan Leckey
|
e7664d8d19
|
feat(postgres): add support for SQL NULL to Option<_> and sqlx::Null
|
2021-04-16 16:10:02 -07:00 |
|
Ryan Leckey
|
3d575495e7
|
style: rustfmt
|
2021-04-16 11:49:47 -07:00 |
|
Ryan Leckey
|
4c0896bc14
|
test(mysql): adjust asserts for slight error format change
|
2021-04-16 11:49:35 -07:00 |
|
Ryan Leckey
|
76b31faf4c
|
feat(postgres): catch and return PgDatabaseError for ErrorResponse
|
2021-04-16 11:44:14 -07:00 |
|
Ryan Leckey
|
f25c724705
|
fix(mysql): serialize a NULL when encode returns IsNull::Yes
|
2021-04-16 00:44:00 -07:00 |
|
Ryan Leckey
|
8dcaa039c8
|
feat(mysql): disable parameter type check on older MySQL, add support for NULL
|
2021-04-16 00:39:21 -07:00 |
|
Ryan Leckey
|
d03a294555
|
fix(mysql): command guard should only drop the command if the future wasn't dropped; and, support MySQL <= 5.5
|
2021-04-15 22:52:07 -07:00 |
|
Ryan Leckey
|
6166ec7b8f
|
refactor(mysql): raise MySqlClientError for general client-side errors
|
2021-04-15 21:54:05 -07:00 |
|
Ryan Leckey
|
ee8f5b7c14
|
chore(mysql): make Row::is_null public
|
2021-03-27 15:04:09 -07:00 |
|
Ryan Leckey
|
f12035c8d4
|
refactor: settle on identifiers for lifetimes and type parameters in Executor
|
2021-03-25 16:17:07 -07:00 |
|
Ryan Leckey
|
7acda184a8
|
Revert "refactor(mysql): remove unused close! macro"
This reverts commit 424d4b7aa10bf15dbcd8128c2a186781d9c36608.
|
2021-03-25 09:41:54 -07:00 |
|
Jonas Platte
|
de0f31cc0b
|
Enforce consistent imports granularity through rustfmt
|
2021-03-22 12:14:06 -07:00 |
|
Ryan Leckey
|
424d4b7aa1
|
refactor(mysql): remove unused close! macro
|
2021-03-20 00:14:55 -07:00 |
|
Ryan Leckey
|
366741fe0f
|
refactor(mysql): prefer handle_ over recv_ for methods that do not recv from the buffer but only handle what was received
|
2021-03-20 00:14:44 -07:00 |
|
Ryan Leckey
|
2b8ca88b87
|
style(mysql): move simple bounds to type parameter list
|
2021-03-17 08:17:12 -07:00 |
|
Ryan Leckey
|
3bd6a5a356
|
fix: QueryResult should be Clone + Default
|
2021-03-07 10:35:54 -08:00 |
|
Ryan Leckey
|
5a5ce82946
|
feat(postgres): add PgConnectOptions
|
2021-03-07 10:28:51 -08:00 |
|
Ryan Leckey
|
baa63d33e1
|
refactor(postgres): baseline postgres driver against the now near-complete state of the mysql driver
|
2021-03-06 13:59:24 -08:00 |
|
Ryan Leckey
|
f49d9f3e83
|
refactor: simplify mocked stream testing
|
2021-03-03 17:42:00 -08:00 |
|
Ryan Leckey
|
a5a3fb346d
|
fix(mysql): auth plugins have an opaque command phase rather than a specific MORE_DATA phase
|
2021-03-03 16:09:12 -08:00 |
|
Ryan Leckey
|
71f52961c9
|
fix(mysql): smaller integer decode from larger byte lengths
|
2021-03-03 16:08:51 -08:00 |
|
Ryan Leckey
|
4204f1dc16
|
feat: expose Connection::describe
|
2021-02-28 12:18:53 -08:00 |
|
Andrew Houts
|
22e11e59a0
|
add basic dialog authentication
|
2021-02-27 22:51:32 -08:00 |
|
Ryan Leckey
|
c9197916fb
|
fix(mysql): allow reading a bool from any integer type
|
2021-02-27 13:53:10 -08:00 |
|
Ryan Leckey
|
4c1d2fa679
|
feat(mysql): impl Type for i8, i16, i32, i64, i128, and isize
|
2021-02-26 00:38:27 -08:00 |
|
Ryan Leckey
|
01d4255137
|
feat(mysql): impl type for usize and u128
|
2021-02-26 00:30:45 -08:00 |
|
Ryan Leckey
|
85c11b3f2f
|
style: remove unused imports
|
2021-02-26 00:23:40 -08:00 |
|
Ryan Leckey
|
c9252570a9
|
feat(mysql): impl Type for u8, u16, u32, and u64
|
2021-02-26 00:20:38 -08:00 |
|
Ryan Leckey
|
730439fcf7
|
test(mysql): add some basic unit tests for types to experiment
|
2021-02-26 00:20:01 -08:00 |
|
Ryan Leckey
|
d079c021a8
|
refactor(mysql): simplify MySqlRow impl
|
2021-02-26 00:19:13 -08:00 |
|
Ryan Leckey
|
0ae59643de
|
fix(mysql): Argument::type_id no longer has a parameter
|
2021-02-26 00:18:41 -08:00 |
|
Ryan Leckey
|
1748406222
|
fix(mysql): set HasRawValue::Database
|
2021-02-26 00:05:33 -08:00 |
|
Ryan Leckey
|
d92ae2500d
|
fix(mysql): prefer column alias over name if non-empty
|
2021-02-26 00:05:17 -08:00 |
|
Ryan Leckey
|
149313fe00
|
docs(mysql): expand docs for mysql type mapping
|
2021-02-23 16:11:40 -08:00 |
|
Ryan Leckey
|
b6b24cd927
|
feat(mysql): impl Type for bool
|
2021-02-23 16:11:28 -08:00 |
|
Ryan Leckey
|
d8131d3b3d
|
feat(mysql): impl Type for Bytes, ByteString
|
2021-02-23 16:11:01 -08:00 |
|
Ryan Leckey
|
16f961584d
|
fix(mysql): handle reading binary-encoded string data
|
2021-02-23 12:14:23 -08:00 |
|
Ryan Leckey
|
0708b3a873
|
feat(mysql): detect BOOLEAN, SET, and ENUM with MySqlTypeInfo
|
2021-02-23 02:06:24 -08:00 |
|
Ryan Leckey
|
0756ef0e59
|
refactor(mysql): remove binary type IDs
|
2021-02-23 01:55:09 -08:00 |
|
Ryan Leckey
|
22960f1610
|
feat(mysql): add support for &str and &[u8]
|
2021-02-23 01:51:21 -08:00 |
|
Ryan Leckey
|
d2da565d0b
|
refactor: remove unsafe for utf8 conversions within protocol
|
2021-02-22 23:41:22 -08:00 |
|
Ryan Leckey
|
eddd873f4d
|
feat(core): add Row::get, Row::get_raw
|
2021-02-22 21:35:51 -08:00 |
|
Ryan Leckey
|
21f3a83c5f
|
feat(core): add Row::column, Row::try_column (from 0.5)
|
2021-02-22 21:32:52 -08:00 |
|
Ryan Leckey
|
d8e4030cb8
|
refactor: rename ordinal to index
|
2021-02-22 21:29:05 -08:00 |
|
Ryan Leckey
|
9a31baa15a
|
feat(mysql): expand MySqlRow
|
2021-02-22 21:22:30 -08:00 |
|
Ryan Leckey
|
6099468c7d
|
feat(mysql): expand MySqlDatabaseError
|
2021-02-22 19:21:28 -08:00 |
|
Ryan Leckey
|
2b99b1aeaf
|
feat(core): expand variants and documentation of sqlx::Error
|
2021-02-22 18:57:06 -08:00 |
|
Ryan Leckey
|
301665360c
|
wip: plan out transaction options, to mirror connect options
|
2021-02-19 21:41:42 -08:00 |
|
Ryan Leckey
|
1227b934c8
|
style(mysql): clippy
|
2021-02-19 00:07:18 -08:00 |
|
Ryan Leckey
|
2bc2434fa0
|
fix(mysql): Executor for blocking runtime
|
2021-02-19 00:00:43 -08:00 |
|