ForbesLindesay / atdatabases

TypeScript clients for databases that prevent SQL Injection
https://www.atdatabases.org
MIT License
598 stars 47 forks source link

BigQuery and TypeScript #329

Open duncanbeevers opened 3 weeks ago

duncanbeevers commented 3 weeks ago

A -typed ecosystem for BigQuery

In order to get the same kind of type-safety for BigQuery as is offered for Postgres by pg-typed, and in the same vein as this request to create sqlite-typed, I'd like to see this project extend its support.

Steps to get a -typed ecosystem for BigQuery

duncanbeevers commented 3 weeks ago

I've written utilities for gathering the BigQuery dataset schemas, and for generating TypeScript interfaces from those schemas here, which could serve as a starting point for bigquery-schema-cli.