mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +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_test::test_type;
|
||||
|
||||
test_type!(null(
|
||||
Postgres,
|
||||
Option<i16>,
|
||||
"NULL" == None::<i16>
|
||||
));
|
||||
|
||||
test_type!(bool(
|
||||
Postgres,
|
||||
bool,
|
||||
|
Loading…
x
Reference in New Issue
Block a user