Skip to content

Conversation

@javier
Copy link
Contributor

@javier javier commented Jan 29, 2026

Replace legacy dateadd(), today(), yesterday(), now() patterns with the new TICK syntax across 27 cookbook recipes:

  • timestamp IN today() → timestamp IN '$today'
  • timestamp IN yesterday() → timestamp IN '$yesterday'
  • timestamp > dateadd('d', -1, now()) → timestamp IN '$now - 1d..$now'
  • @lookback := dateadd(...) → @lookback := '$now - Xd..$now'

Also simplifies VWAP query to use direct window function division.

Adds new elapsed-time recipe in time-series patterns.

Replace legacy dateadd(), today(), yesterday(), now() patterns with
the new TICK syntax across 27 cookbook recipes:

- timestamp IN today() → timestamp IN '$today'
- timestamp IN yesterday() → timestamp IN '$yesterday'
- timestamp > dateadd('d', -1, now()) → timestamp IN '$now - 1d..$now'
- @lookback := dateadd(...) → @lookback := '$now - Xd..$now'

Also simplifies VWAP query to use direct window function division.

Adds new elapsed-time recipe in time-series patterns.
@github-actions
Copy link

🚀 Build success!

Latest successful preview: https://preview-352--questdb-documentation.netlify.app/docs/

Commit SHA: 405947f

📦 Build generates a preview & updates link on each commit.

@javier javier merged commit 61c8f60 into main Jan 29, 2026
2 checks passed
@javier javier deleted the jv/tick-syntax-main branch January 29, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants