New answers tagged query
1
vote
Accepted
Wildcard searching for custom field queries
Turns out asterisks can be escaped with a double slash, so you can query
craft.entries.title('Foo\\*').all()
and it will match Foo*
Top 50 recent answers are included
Related Tags
query × 145craft3 × 26
entries × 23
elementquery × 17
plugin-development × 15
search × 14
entry × 13
templating × 11
relations × 11
matrix × 10
categories × 10
datetime × 9
queries × 9
database × 8
mysql × 8
graphql × 7
plugin-craftcommerce × 6
users × 5
field × 5
plugin-elementapi × 5
elementcriteriamodel × 4
pagination × 4
relatedto × 4
yii × 4
filter × 3