Function backend::db::function::similarity

source ยท
pub fn similarity<t1, t2>(t1: t1, t2: t2) -> similarity<t1, t2>
Expand description

The pg_trgm SQL function similarity.

Used to find how similar two strings are.

If your column is nullable use similarity_nullable() instead.