deepkit-framework
deepkit-framework copied to clipboard
[orm] `.returning()` type + wildcard
Two suggestions:
.returning()
type.
Accurate types would be very nice to have
They can be stored in a new generic for Query
and BaseQuery
.returning()
wildcard.
When you always want full entities to be returning, a wildcard like *
would be preferable as it can prevent a lot of refactoring were you to change your entity schema