Skip to content

SqueakQL data types

SqueakQL validates values before a Work Item query runs. It does not treat all input as strings.

Type Example Used by
string 'webhook' title, key, project_key, sprint, parent
enum 'in_progress' type, status, priority
integer 8 story_points
timestamp/date '2026-09-08' date and timestamp fields
user CURRENT_USER or 'usr_…' assignee
interval INTERVAL '7 days' temporal arithmetic
NULL IS NULL nullable fields

Enum values are checked against the current Hamstik domain vocabulary. A timestamp literal must be an ISO date or timestamp. A user literal must be a stable public user id; use CURRENT_USER for the normal “my work” case.

For a type mismatch such as updated_at ILIKE '%foo%', SqueakQL reports a semantic diagnostic before any database query is executed.