mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-23 10:38:57 +00:00
postgres: add type test for NULL
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user