mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00
postgres: add type test for NULL
This commit is contained in:
parent
a165615f53
commit
76431141e5
@ -1,6 +1,12 @@
|
|||||||
use sqlx::Postgres;
|
use sqlx::Postgres;
|
||||||
use sqlx_test::test_type;
|
use sqlx_test::test_type;
|
||||||
|
|
||||||
|
test_type!(null(
|
||||||
|
Postgres,
|
||||||
|
Option<i16>,
|
||||||
|
"NULL" == None::<i16>
|
||||||
|
));
|
||||||
|
|
||||||
test_type!(bool(
|
test_type!(bool(
|
||||||
Postgres,
|
Postgres,
|
||||||
bool,
|
bool,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user