Values
14 min
values are always part of the rhs docid\ zbj6atbbc9 s7nlsnwchh , and denote the specific thing you're searching for certain values are only compatible with particular fields on the lhs docid\ zbj6atbbc9 s7nlsnwchh for example, if the lhs is a number or currency, the rhs value cannot be text quickquery will always let you know if you accidentally mismatch types on the lhs and rhs text a value representing text is always enclosed in double quotes " , e g \<font color="#3b9f0f">"some text"\</font> unless specifically stated in the documentation on operators docid a6c2c3f2fw7ydjuvamvz , these values are case sensitive (i e \<font color="#3b9f0f">"some text"\</font> is not the same as \<font color="#3b9f0f">"some text"\</font> , \<font color="#3b9f0f">"some text"\</font> , etc ) dropdowns when querying on a dropdown field, quickquery will automatically suggest the appropriate values other than that, they are identical to text values numbers numbers are entered as you would expect, e g \<font color="#2166ae">25\</font> if you need a negative number, prefix it with , e g \<font color="#2166ae"> 25\</font> you can also prefix numbers with an optional + , if you want to, e g \<font color="#2166ae">+50\</font> for decimals, enter the fractional part after a period , e g \<font color="#2166ae">3 14\</font> currencies when entering a currency, prefix the numerical value with the currency enclosed in double quotes " , e g \<font color="#3b9f0f">"usd" 7000\</font> be sure to include the space between the currency and the value the numerical value can be any valid number, e g \<font color="#3b9f0f">"usd" 5 8\</font> any of the following can be used as the currency specifier the currency code, e g \<font color="#3b9f0f">"usd"\</font> the currency symbol, e g \<font color="#3b9f0f">"$"\</font> full name of the currency, e g \<font color="#3b9f0f">"us dollars"\</font> quickquery will always suggest all available currencies binary the available binary values are \<font color="#9900ef">true\</font> and \<font color="#9900ef">false\</font> you use them when searching by e g checkboxes \[ \<font color="#fcb900">do not call\</font> ] \<font color="#9900ef">=\</font> \<font color="#9900ef">false\</font> temporal there are two types of temporal values fixed and interpreted in both cases, time zone settings are respected fixed fixed values have a fixed form, and are entered exactly as seen here they involve the units \<font color="#2166ae">second\</font> \<font color="#2166ae">minute\</font> , \<font color="#2166ae">hour\</font> , \<font color="#2166ae">day\</font> , \<font color="#2166ae">week\</font> , \<font color="#2166ae">month\</font> , \<font color="#2166ae">year\</font> and can be any of the following \<font color="#2166ae">now\</font> \<font color="#2166ae">today\</font> \<font color="#2166ae">this \<unit\>\</font> , e g \<font color="#2166ae">this hour\</font> \<font color="#2166ae">last \<unit\>\</font> , e g \<font color="#2166ae">last month\</font> \<font color="#2166ae">next \<unit\>\</font> , e g \<font color="#2166ae">next year\</font> any combination of \<font color="#2166ae">\<whole number\> \<unit\>\</font> , e g \<font color="#2166ae">3 years 5 minutes\</font> the units must be sorted in descending order, i e \<font color="#2166ae">5 minutes 3 years\</font> is not allowed \[ \<font color="#fcb900">date created\</font> ] \<font color="#9900ef">=\</font> \<font color="#2166ae">today\</font> all fixed values are converted to a time range therefore, the above query is actually translated to \[ \<font color="#fcb900">date created\</font> ] \<font color="#9900ef">=\</font> \<font color="#2166ae">\<00 00 today\>, \<23 59 today\>\</font> this only happens with fixed temporal values, and not with interpreted temporal values interpreted interpreted values allow for a "free form" textual description of a temporal amount, such as \<font color="#2166ae">next monday\</font> , \<font color="#2166ae"> 7 weekdays\</font> , \<font color="#2166ae">first day of next month\</font> etc interpreted values are surrounded by \<font color="#2166ae">@\[]\</font> , e g \<font color="#2166ae">@\[tomorrow 3pm]\</font> the range of interpreted values is incredibly broad, and is documented in detail here https //www php net/manual/en/datetime formats php technical details interpreted values are interpreted as a series of modifiers/commands which change the value, starting from the current date and time therefore, writing e g \<font color="#2166ae"> 7 weekdays\</font> starts with the current date and time, and subtracts 7 weekdays from it the resulting value will be "now", but 7 week days ago as another example, writing \<font color="#2166ae">first day of this month 13 00\</font> starts with the current date and time, and first interprets "first day of this month", which changes the date appropriately it then interprets "13 00", which changes the time in practice, the easiest way to find out what they can do is to try them out read this docid\ w qrkderlew3wrpt zmuc if you need help figuring out what a specific interpreted value translates to here's an example \[ \<font color="#fcb900">date created\</font> ] \<font color="#9900ef">strictly after\</font> \<font color="#2166ae">@\[\</font> \<font color="#2166ae">tomorrow \</font> \<font color="#2166ae">3pm]\</font> interpreted temporal values are not converted to time ranges therefore, \<font color="#2166ae">@\[\</font> \<font color="#2166ae">tomorrow \</font> \<font color="#2166ae">3pm]\</font> means tomorrow at exactly 15 00 00 down to the second when entering an interpreted value, be sure to enter the "more general" specifiers first, and the "more specific" ones later! as stated above, each part of an interpreted temporal value is translated to a command that modifies the date and time therefore, writing \<font color="#2166ae">@\[tomorrow 3pm]\</font> will first interpret "tomorrow" and set the value to "\<tomorrow date> \<current time>", and then it will interpret "3pm" and set the time value to 15 00 00 (while keeping tomorrow's date) however, writing \<font color="#2166ae">@\[3pm tomorrow]\</font> will first interpret "3pm" and set the time value to 15 00 00, and then interpret "tomorrow" and set the value to "\<tomorrow date> \<current time>", which will overwrite the 3pm we entered earlier! fixed vs interpreted while interpreted values give you a much greater flexibility, they are not well suited when used with equality, because they represent an exact instant , and not a time range consider the following two queries \[ \<font color="#fcb900">date created\</font> ] \<font color="#9900ef">=\</font> \<font color="#2166ae">today \</font> \[ \<font color="#fcb900">date created\</font> ] \<font color="#9900ef">=\</font> \<font color="#2166ae">@\[today]\</font> the first involves a fixed temporal value, and will therefore be translated to " date created between 00 00 00 and 23 59 59 today ", which yields the query we probably meant the second query involves and interpreted temporal value, and is simply translated to " date created equals 00 00 00 today ", which will only display records which were created at exactly midnight today however, there's nothing preventing you from writing out the range yourself \[ \<font color="#fcb900">date created\</font> ] between \<font color="#2166ae">@\[today midnight]\</font> , \<font color="#2166ae">@\[tomorrow midnight 1 seconds]\</font>