mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 21:13:19 +12:00
docs: fix link to pg docs
This commit is contained in:
parent
8a69af9a4b
commit
4b6f2baddd
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ fragment("points > (SELECT SUM(points) FROM games WHERE user_id = ? AND id != ?)
|
||||||
>
|
>
|
||||||
> Using entire queries as shown above is a last resort, but can sometimes be the best way to accomplish a given task.
|
> Using entire queries as shown above is a last resort, but can sometimes be the best way to accomplish a given task.
|
||||||
|
|
||||||
#### In calculations
|
#### In calculations
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
calculations do
|
calculations do
|
||||||
|
@ -52,7 +52,7 @@ end
|
||||||
|
|
||||||
These wrap the postgres builtin like and ilike operators.
|
These wrap the postgres builtin like and ilike operators.
|
||||||
|
|
||||||
Please be aware, these match *patterns* not raw text. Use `contains/1` if you want to match text without supporting patterns, i.e `%` and `_` have semantic meaning!
|
Please be aware, these match _patterns_ not raw text. Use `contains/1` if you want to match text without supporting patterns, i.e `%` and `_` have semantic meaning!
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ Ash.Query.filter(User, ilike(name, "%ObO%")) # name contains ObO anywhere in the
|
||||||
|
|
||||||
To use this expression, you must have the `pg_trgm` extension in your repos `installed_extensions` list.
|
To use this expression, you must have the `pg_trgm` extension in your repos `installed_extensions` list.
|
||||||
|
|
||||||
This calls the `similarity` function from that extension. See more https://www.postgresql.org/docs/current/pgtrgm.htmlhere: https://www.postgresql.org/docs/current/pgtrgm.html
|
This calls the `similarity` function from that extension. See more in the [pgtrgm guide](https://www.postgresql.org/docs/current/pgtrgm.html)
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue