Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cfe0eb5

Browse files
authoredMar 24, 2025··
[Docs] Add date-math example (#300)
1 parent ff6d97b commit cfe0eb5

File tree

1 file changed

+1
-0
lines changed
  • doc/04_Searching_For_Data_In_Index/09_Pimcore_Query_Language

1 file changed

+1
-0
lines changed
 

‎doc/04_Searching_For_Data_In_Index/09_Pimcore_Query_Language/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ All examples are based on the `Car` data object class of the [Pimcore Demo](http
123123
| `genericImages:Asset.fullPath LIKE "/Car Images/vw/*"` | All cars with a image linked in the `genericImages` image gallery which is contained in the asset folder `/Car Images/vw`. |
124124
| `color = "red" OR color = "blue"` | All red or blue cars using standard PQL syntax. |
125125
| `series = empty AND color="red"` | All models where the series is empty and the color is red. |
126+
| `License.expiryDate <= 'now+2d/d'` | All elements whose license expires in two days - if the field is a date field you can use [date-math](https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math) syntax of elastic search/opensearch.|
126127
| `Query("standard_fields.color:(red OR blue)")` | All red or blue cars using simple query string syntax. |
127128

128129
## Limitations

0 commit comments

Comments
 (0)
Please sign in to comment.