Return type is only "with" types, ignores "columns" types

Not sure if I'm using it wrong but the return type of a relational query is just the columns from the "with" clause, and doesn't merge with the "columns" object like I'd expect
2 Replies
Titan
TitanOP10mo ago
No description
Titan
TitanOP10mo ago
this is fixed by using as const to the columns object declaration

Did you find this page helpful?