RDoc-3765 RQL supports now() & today()#2433
Open
Danielle9897 wants to merge 5 commits into
Open
Conversation
ppekrol
reviewed
May 12, 2026
|
|
||
| * `now()` can accept an optional positive or negative offset string, such as `+7d`, `-3d`, or `+1d5h`. | ||
|
|
||
| * When an offset is provided, RavenDB first **shifts the current time** by the specified amount |
Member
There was a problem hiding this comment.
maybe add some flag that this is Important, bold? exclamation mark? upper case? not sure
Member
Author
There was a problem hiding this comment.
done - added admonition & uppercase
| </TabItem> | ||
|
|
||
| This restriction applies only to the `now()` and `today()` functions. | ||
| These functions are blocked in exploration and subscription queries because their value depends on when the expression is evaluated, which can lead to caching correctness issues. |
Member
There was a problem hiding this comment.
with subscriptions it is not a matter of caching, but yielding indeterministic results due to the fact that this is an ongoing task, so using now/today would dynamically (and drastically) change the results depending on the execution time
246e5d7 to
3777950
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue link
https://issues.hibernatingrhinos.com/issue/RDoc-3765/RQL-supports-now-today
Additional description
Type of change
/templatesor readme)Changes in docs URLs
/scripts/redirects.jsonfile, setDocuments MovedPR label)Changes in UX/UI