We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In version <0.27 we could do this:
const person = await db .selectFrom('person') .select(eb => eb.fn.agg<string[]>('array_agg', ['last_name']).as('names'))
But with version 0.27, typescript gives an error Expected 2 type arguments, but got 1.
Expected 2 type arguments, but got 1.
Working example with v0.26.3: Playground Link
Same example with v0.27: Playground Link
The text was updated successfully, but these errors were encountered:
e762244
Fixed in 0.27.1. Thanks for reporting this!
Sorry, something went wrong.
Bring back default for second agg generic. Fixes kysely-org#829
a314e1c
No branches or pull requests
In version <0.27 we could do this:
But with version 0.27, typescript gives an error
Expected 2 type arguments, but got 1.
Working example with v0.26.3: Playground Link
Same example with v0.27: Playground Link
The text was updated successfully, but these errors were encountered: