Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
1
answer
226
views
Difference between chained and batch element queries?
The docs show two possible ways:
Chained Methods
{% set query = craft.entries()
.section('news')
.limit(10) %}
Batch-set Parameters
{% set query = craft.entries({
section: 'news', …
6
votes
Accepted
Query entries between two values
I got the answer to this thanks to @BrandonKelly from a comment in this question: How can you return elements between two values?
Turning it into a subarray does the trick: expirationDate: [ 'and', ' …
3
votes
1
answer
2k
views
Query entries between two values
I am trying to query entries (scripts) when a custom expiration date field is within a certain range. … These questions/answers helped me get as far as I am, but I'm still stuck: Advanced query/filter based on date and values and How can you return elements between two values? …