sea_query/extension/postgres/
mod.rspub use expr::*;
pub use extension::*;
pub use func::*;
pub use ltree::*;
pub use types::*;
use crate::types::BinOper;
pub(crate) mod expr;
pub(crate) mod extension;
pub(crate) mod func;
pub(crate) mod interval;
pub(crate) mod ltree;
pub(crate) mod types;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum PgBinOper {
ILike,
NotILike,
Matches,
Contains,
Contained,
Concatenate,
Overlap,
Similarity,
WordSimilarity,
StrictWordSimilarity,
SimilarityDistance,
WordSimilarityDistance,
StrictWordSimilarityDistance,
GetJsonField,
CastJsonField,
Regex,
RegexCaseInsensitive,
#[cfg(feature = "postgres-vector")]
EuclideanDistance,
#[cfg(feature = "postgres-vector")]
NegativeInnerProduct,
#[cfg(feature = "postgres-vector")]
CosineDistance,
}
impl From<PgBinOper> for BinOper {
fn from(o: PgBinOper) -> Self {
Self::PgOperator(o)
}
}