mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
15 lines
224 B
Rust
15 lines
224 B
Rust
use sqlx::Sqlite;
|
|
use sqlx_test::test_type;
|
|
|
|
test_type!(null(
|
|
Sqlite,
|
|
Option<i32>,
|
|
"NULL" == None::<i32>
|
|
));
|
|
|
|
test_type!(bool(
|
|
Sqlite,
|
|
bool,
|
|
"false::boolean" == false,
|
|
"true::boolean" == true
|
|
));
|