Ryan Leckey
163d5cb1b3
feat: add bind_unchecked to Query and QueryAs
2021-02-26 00:19:30 -08:00
Ryan Leckey
6622f45b3a
feat(core): impl Query, QueryAs, Executor for the blocking runtime
2021-02-23 12:14:03 -08:00
Ryan Leckey
1107241170
feat(core): add query_as, FromRow
2021-02-23 02:28:09 -08:00
Ryan Leckey
6b4e5fbc1c
wip: add query, Query
2021-02-18 23:46:06 -08:00
Ryan Leckey
ae13a8d618
refactor(postgres): remove from facade
...
the template changed a lot and it needs re-done
2021-02-18 23:46:05 -08:00
Ryan Leckey
a637e69d19
refactor: add Connect::connect_with(&Options) and reduce complexity of facade
...
- remove as much as possible from the DbConnectOptions facade with From and Deref
- add From, Deref, and DerefMut to DbConnection facade
2021-02-18 23:46:05 -08:00
Ryan Leckey
8203410e3f
reactor(core): remove Rt param from Database trait and remove Connection associated type
...
- significantly cleans up the sqlx/ zero-prelude wrapping
2021-02-18 23:46:05 -08:00
Ryan Leckey
0ce4a6a418
feat(mysql): MySqlTypeId, MySqlTypeInfo, and Decode/Encode impl for bool, u8
2021-02-18 23:46:04 -08:00
Ryan Leckey
b7cf04d9cf
feat(mysql): impl command state tracking, fetch_all, and fetch_optional
...
before each command, any dirty state is flushed
2021-02-18 23:46:04 -08:00
Ryan Leckey
93dc33adc0
refactor(mysql): break up execute() into executor/columns and executor/execute
2021-02-18 23:46:04 -08:00
Ryan Leckey
4cbdac6884
feat(mysql): minimally implement Row and Column
2021-02-18 23:46:03 -08:00
Ryan Leckey
1b3e9a990f
fix(mysql): add missing type Database to Executor impl
2021-01-26 01:22:00 -08:00
Ryan Leckey
5836e1eb63
wip(mysql): impl Executor
2021-01-26 01:18:54 -08:00
Daniel Akhterov
d5053d1b1d
feat: begin work on postgres
2021-01-22 00:21:16 -08:00
Ryan Leckey
ecec956f67
fix(sqlx): minor blocking fixes
2021-01-20 19:48:41 -08:00
Ryan Leckey
a0ce421989
refactor: remove preludes and provide inherent methods on wrapped types
...
- sqlx::mysql::MySqlConnection is a tuple struct of sqlx_mysql::MySqlConnection
- sqlx::mysql::MySqlConnection provides both connect() and connect().await
using crate-local specialization from negative trait bound inference
2021-01-20 19:39:25 -08:00
Ryan Leckey
cbf280b240
docs: polish, add some information on supported databases and runtimes
2021-01-10 13:02:57 -08:00
Ryan Leckey
16077216df
style: clippy
2021-01-08 16:39:12 -08:00
Ryan Leckey
55a8e7ba29
wip(mysql): connection/establish, WriteExt, BufExt, and settle on AsyncRuntime
2021-01-01 12:28:48 -08:00
Ryan Leckey
93bb9cceb0
feat(mysql): add initial Connection and Database types, hookup runtimes
2020-12-28 02:18:05 -08:00
Ryan Leckey
7a323f3471
feat(core): refine runtime abstraction
...
- traits from sqlx::blocking::_ have sqlx::_ traits as dependents
- methods in sqlx::_ traits are cfg-d on "async" with an additional Rt: Async bound
2020-12-28 00:16:44 -08:00
Ryan Leckey
f613b3c7b5
fix: invalid clippy lint name
2020-12-27 17:04:56 -08:00
Ryan Leckey
50e43a8211
feat(core): add minimal Runtime and blocking::Runtime and re-expose sqlx-core in sqlx
2020-12-27 17:01:44 -08:00
Ryan Leckey
8276f88df3
chore: initial commit
2020-12-27 12:26:48 -08:00