View Source AshPostgres.Functions.TrigramSimilarity (ash_postgres v2.4.12)

Maps to the builtin postgres trigram similarity function. Requires pgtrgm extension to be installed.

See the postgres docs on trigram for more information.

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

# Example

filter(query, trigram_similarity(name, "geoff") > 0.4)

Summary

Functions

Callback implementation for Ash.Query.Function.args/0.

Functions

args()

Callback implementation for Ash.Query.Function.args/0.