Releases
0.32.0
New Features
Construct Postgres query with vector extension #774
Added postgres-vector
feature flag
Added Value::Vector
, ColumnType::Vector
, ColumnDef::vector()
, PgBinOper::EuclideanDistance
, PgBinOper::NegativeInnerProduct
and PgBinOper::CosineDistance
assert_eq ! (
Query ::select( )
.columns( [ Char ::Character ] )
.from( Char ::Table )
.and_where(
Expr ::col( Char ::Character ) .eq( Expr ::val( pgvector::Vector ::from( vec![ 1.0 , 2.0 ] ) ) )
)
.to_string( PostgresQueryBuilder ) ,
r#"SELECT "character" FROM "character" WHERE "character" = '[1,2]'"#
) ;
Added ExprTrait
to unify Expr
and SimpleExpr
methods #791
Support partial index CREATE INDEX .. WHERE ..
#478
Enhancements
Replace Educe
with manual implementations #817
sea-query-derive
Merged #[enum_def]
into sea-query-derive
#[enum_def]
now impl additional IdenStatic
and AsRef<str>
#769
sea-query-attr
Updated syn
, heck
and darling
sea-query-attr
is now deprecated
Upgrades
Upgrade sqlx
to 0.8
#798
Upgrade bigdecimal
to 0.4
#798
Upgrade rusqlite
to 0.32
#802
You can’t perform that action at this time.