Query proof
Track a two-word topic on Hacker News by month with SQL
A Scry query pattern that counts Hacker News items carrying two tokens, 'prompt' and 'injection', month by month since 2023.
Answer shape
Two hasToken predicates over the indexed text column and one GROUP BY return 45 monthly counts since January 2023. Measured 2026-09-09 through the public door: 1.23 s, 13,655,449 rows read, $0.0073 of machine time, $0 charged.
Sources
- Hacker News
Methods
- source-native SQL
- token-indexed lexical search
- time series
SQL
Run this through POST /v1/scry/query after inspecting GET /v1/scry/schema for current live fields.
SELECT toStartOfMonth(original_timestamp) AS m, count() AS n FROM hackernews.items WHERE original_timestamp >= '2023-01-01' AND hasToken(search_text_lc, 'prompt') AND hasToken(search_text_lc, 'injection') GROUP BY m ORDER BY m LIMIT 100;
Output, no account
scry.io/s/8mcfjc16 holds this query's rows and its envelope — elapsed, rows read, machine cost — frozen from a run through the public door.