ash_postgres v0.30.1 AshPostgres.Functions.TrigramSimilarity View Source

A filter predicate that filters based on trigram similarity.

See the postgres docs on for more information.

Requires the pg_trgm extension. Configure which extensions you have installed in your AshPostgres.Repo

At least one of the equals, greater_than and less_than

# Example

filter(query, [trigram_similarity: [:name, "geoff", [greater_than: 0.4]]])

Link to this section Summary

Link to this section Functions