sqltyper icon indicating copy to clipboard operation
sqltyper copied to clipboard

TypeScript types for raw PostgreSQL queries

Results 14 sqltyper issues
Sort by recently updated
recently updated
newest added

`pg_get_viewdef` can be used to get the view's query, and it can be used to infer nullability.

https://www.postgresql.org/docs/12/functions-datetime.html

Simple support should be possible by just always inferring the output as `T | null`. Nullability infering might be really hard, but let's try anyway!

This would help to work around issues where `sqltyper` doesn't know about a function or operator yet. It would also make it possible to get correct results nullability results when...