You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in the documentation, count, min etc. take an optional options object, with the key as specifying an alias for the aggregate value. However, the types AsymmetricAggregation and TypePreservingAggregation only have the ...columnNames parameter; the options object is missing from the typings.
The text was updated successfully, but these errors were encountered:
Environment
Knex version: 0.21.13
Database + version: N/A
OS: N/A
Issue is about TypeScript definitions, @lorefnon
Bug
As stated in the documentation,
count
,min
etc. take an optional options object, with the keyas
specifying an alias for the aggregate value. However, the typesAsymmetricAggregation
andTypePreservingAggregation
only have the...columnNames
parameter; the options object is missing from the typings.The text was updated successfully, but these errors were encountered: