Function backend::db::function::similarity_nullable
source ยท pub fn similarity_nullable<t1, t2>(
t1: t1,
t2: t2,
) -> similarity_nullable<<t1 as AsExpression<Nullable<Text>>>::Expression, <t2 as AsExpression<Text>>::Expression>
Expand description
The pg_trgm
SQL function similarity
.
Used to find how similar two strings are.
If your column is not nullable use similarity()
instead.