pub type PgValue = SqlxValue;Expand description
Postgres scalar value carried by a lowered SQL fragment.
Aliased Type§
pub enum PgValue {
Bool(bool),
I16(i16),
I32(i32),
I64(i64),
Text(String),
Bytes(Vec<u8>),
Uuid(Uuid),
Date(Date),
Time(Time),
Timestamp(PrimitiveDateTime),
TimestampTz(OffsetDateTime),
}Variants§
Bool(bool)
Boolean bind value.
I16(i16)
Signed 16-bit integer bind value.
I32(i32)
Signed 32-bit integer bind value.
I64(i64)
Signed 64-bit integer bind value.
Text(String)
Text bind value.
Bytes(Vec<u8>)
Binary bind value.
Uuid(Uuid)
UUID bind value.
Date(Date)
Date bind value.
Time(Time)
Time bind value.
Timestamp(PrimitiveDateTime)
Timestamp without time zone bind value.
TimestampTz(OffsetDateTime)
Timestamp with time zone bind value.