pub fn similarity_nullable<t1, t2>(
t1: t1,
t2: t2,
) -> similarity_nullable<t1, t2>where
t1: AsExpression<Nullable<Text>>,
t2: AsExpression<Text>,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.