Skip to main content

pg_srv/
extended.rs

1//! Implementation for Extended Query
2
3#[cfg(feature = "with-chrono")]
4use crate::{DateValue, TimestampValue};
5
6#[derive(Debug, PartialEq)]
7pub enum BindValue {
8    String(String),
9    Int64(i64),
10    Float64(f64),
11    Bool(bool),
12    #[cfg(feature = "with-chrono")]
13    Timestamp(TimestampValue),
14    #[cfg(feature = "with-chrono")]
15    Date(DateValue),
16    Null,
17}