kysely-org / kysely

A type-safe typescript SQL query builder
https://kysely.dev
MIT License
10.44k stars 267 forks source link

`InferResult` should output plural. #1064

Closed igalklebanov closed 2 months ago

igalklebanov commented 3 months ago

Hey :wave:

Right now, InferResult wrongfully outputs a singular type, despite queries actually having a plural result type when executed.

This PR makes it plural instead.

This will enable simpler types for when we implement batch execution.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kysely ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2024 7:45pm