Atkins
|
9f7205e80f
|
Fix GitHub Actions and integration test (#1346)
* fix test suite
* rustfmt
* need Row
* test: fix integration test scripts and update the upstream supported databases
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* ci(actions): update supported databases
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* ci(actions): use `pg_isready` instead of `sleep` to avoid error cause by database not ready
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* feat(core): add `trait PgConnectionInfo` for connection parameter status from server
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* test(postgres): fix integration test for postgres
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* test(mysql): fix integration tests
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* ci(actions): test database against the oldest and newest supported versions
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
* docs(core): document `trait PgConnectionInfo`
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
Co-authored-by: Montana Low <montanalow@gmail.com>
|
2021-07-28 14:00:34 -07:00 |
|
Jonas Platte
|
a1d562f04b
|
Remove the Done trait
|
2021-01-12 14:37:44 +01:00 |
|
Ryan Leckey
|
e575501a39
|
feat: add Executor::prepare, a hook into the automatic statement preparation life-cycle
|
2020-07-24 07:24:23 -07:00 |
|
Ryan Leckey
|
96b76dc737
|
update todo examples to 0.4 and use migrations
* update tests/x.py
* add examples/x.py
|
2020-07-18 05:43:16 -07:00 |
|
Ryan Leckey
|
f345c23e51
|
fix(mssql): handle multi-chunk packets
fixes #523
|
2020-07-17 06:08:36 -07:00 |
|
Ryan Leckey
|
00137d4a04
|
feat: add sqlx::Done and return from Executor::execute()
+ Done::rows_affected()
+ Done::last_insert_id()
|
2020-07-14 04:31:25 -07:00 |
|
Ryan Leckey
|
93cab2a197
|
test: more pool usage adjustments
|
2020-07-12 05:02:40 -07:00 |
|
Ryan Leckey
|
8d188c5f1a
|
feat: expose column information on Row
- add database-specific Column types: MySqlColumn, PgColumn, etc.
- add Row::columns() -> &[DB::Column]
- add Row::column(I) and Row::try_column(I)
|
2020-07-05 03:48:36 -07:00 |
|
Ryan Leckey
|
e4005bb53d
|
fix(mssql): handle errors without breaking the stream
|
2020-06-27 20:46:25 -07:00 |
|
Ryan Leckey
|
6cfe5ac811
|
refactor: tweak type name display to use TypeInfo::name
|
2020-06-21 03:55:31 -07:00 |
|
Daniel Akhterov
|
639e10248e
|
feat: add boolean support to sqlx-macros/mssql
|
2020-06-16 13:40:53 -07:00 |
|
Daniel Akhterov
|
80d545109b
|
feat: implement BIT support in MSSQL
|
2020-06-15 22:49:33 -07:00 |
|
Ryan Leckey
|
f2885f84a7
|
fix(mssql): handle NULL values
|
2020-06-07 16:30:07 -07:00 |
|
Ryan Leckey
|
6497d67b6a
|
feat(mssql): add macro support
|
2020-06-07 16:29:46 -07:00 |
|
Ryan Leckey
|
a0ccc135aa
|
style(mssql): rename MsSql to Mssql as MSSQL is not written MsSQL
|
2020-06-07 05:39:12 -07:00 |
|
Ryan Leckey
|
ef2527ff3e
|
feat(mssql): fix a few bugs and implement Connection::describe
|
2020-06-07 02:00:31 -07:00 |
|
Ryan Leckey
|
559169cc79
|
refactor(mssql): clean up unused imports and other warnings
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
12c1137d91
|
feat(mssql): add support for f32 and f64
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
2a272bdd59
|
feat(mssql): setup type tests for MSSQL and add support for all the int types
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
434bfaa76a
|
feat(mssql): handle stream flushing
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
c64122c03f
|
feat(mssql): implement parameterized queries
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
9a701313bc
|
feat(mssql): implement enough to get simple queries working
Co-authored-by: Daniel Akhterov <akhterovd@gmail.com>
|
2020-06-07 02:00:12 -07:00 |
|