mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-14 08:20:25 +00:00
Add i16 support for Any Type. (#1895)
* Add i16 support for Any Type. * fix test.
This commit is contained in:
@@ -1037,7 +1037,7 @@ CREATE TABLE heating_bills (
|
||||
&self,
|
||||
buf: &mut sqlx::postgres::PgArgumentBuffer,
|
||||
) -> sqlx::encode::IsNull {
|
||||
self.0.encode(buf)
|
||||
<i16 as sqlx::Encode<Postgres>>::encode(self.0, buf)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user