justintsus-experiment Public
// The search query language of the repository Issues and Pull requests lists: a GitHub-style query// (is:open label:bug author:@me "a phrase" -word sort:updated-desc created:>=2026-10-01) parsed to a// SearchQuery, written back in its canonical form (what ?q= carries), and evaluated as SQL over the// target's D1 table (issues; pull_index for pull requests).//// This module loads in plain Node (no bindings, no cloudflare: modules): the pages call it, and so do// the unit tests (test/unit/search). A bad query is data, not an exception: parseQuery never throws,// and toSql never throws for a query parseQuery accepted.export type { QueryError, QueryErrorCode, SearchQuery, SqlCtx, SqlResult, SqlValue, Target,} from "./ast.ts";export { parseQuery } from "./parse.ts";export { serializeQuery } from "./serialize.ts";export { toSql } from "./sql.ts";