1 nota · última: 7 Jun 2015
The post shows how to add username search in an Ecto model with Postgres pg_trgm, including a GIN index, a composable query function, and a note on using similarity when the % operator limit must be set per query.