diff options
| author | Sarah Abderemane <sarahabderemane@gmail.com> | 2021-10-04 07:04:00 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-10-04 07:44:15 +0200 |
| commit | 7fa946c76b25ec84752d0ddf6d4afb0cfdc25c93 (patch) | |
| tree | ca0864bb9dcc52f873bed34e419871ab39c4cd6d | |
| parent | fbcd7df12094f1b3addb6a531aa5da0639768623 (diff) | |
[4.0.x] Refs #27694 -- Doc'd lookups that can be chained with HStoreField key transforms.
Backport of 1953dd02b6719ee89fddbc3098d86968d79f3cd7 from main
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index 1a83080dc8..c439a70b89 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -358,6 +358,13 @@ You can chain other lookups after key lookups:: If the key you wish to query by clashes with the name of another lookup, you need to use the :lookup:`hstorefield.contains` lookup instead. +.. note:: + + Key transforms can also be chained with: :lookup:`contains`, + :lookup:`icontains`, :lookup:`endswith`, :lookup:`iendswith`, + :lookup:`iexact`, :lookup:`regex`, :lookup:`iregex`, :lookup:`startswith`, + and :lookup:`istartswith` lookups. + .. warning:: Since any string could be a key in a hstore value, any lookup other than |
