deepkit-framework icon indicating copy to clipboard operation
deepkit-framework copied to clipboard

[orm] `.returning()` type + wildcard

Open timvandam opened this issue 3 years ago • 0 comments

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

timvandam avatar Aug 25 '21 13:08 timvandam