3 ms·
I assume the above is based on said package? Wherein lies the hassle? bmws = Cars.query().where( { brand: "BMW" }).groupBy('year').orderBy('year') bmwA
by randomdata 2y ago
I assume the above is based on said package? Wherein lies the hassle?
bmws = Cars.query().where( { brand: "BMW" }).groupBy('year').orderBy('year')
bmwAvg = bmws.select(avg('price'))
bmwMin = bmws.select(min('price'))
bmwMax = bmws.select(max('price'))