You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Go SDK docs: say that a query parameter needs a cast, because WHERE email = $1 fails a check constraint #1853
The Go SDK is in languages/golang in this repository. Its user docs are the READMEs of encrypt and cmd/stashgen, the package doc comments, and the testable examples. pkg.go.dev shows all of them. In November 2026 we audited the docs of version v0.1.0-rc.7. AI agents built programs from the published docs alone, against a dev workspace and PostgreSQL 17 with EQL (Encrypt Query Language) v4. EQL is the SQL extension that stores and queries encrypted values.
Problem
The docs say single-bound operators accept an untyped $1. WHERE email = $1 fails with "violates check constraint". The parameter needs a cast, such as $1::eql_v4.query_text_eq.
Proposal
Show the cast in every query sample.
Say why the cast is needed, and list the cast for each column type.
Activity
docs(golang): list every JsonSearch cast, and say how PostgreSQL pick…