Jaguar-dart / jaguar_orm

Source-generated ORM with relations (one-to-one, one-to-many, many-to-many), preloading, cascading, polymorphic relations, etc
https://jaguar-dart.github.io
BSD 3-Clause "New" or "Revised" License
217 stars 52 forks source link

Question: SQL Max function #134

Closed mikeroneer closed 5 years ago

mikeroneer commented 5 years ago

Is there a way to get the MAX value by a find statement?

tejainece commented 5 years ago

I will add this.

tejainece commented 5 years ago

In jaguar_orm 2.x.x, you can use normal sql expressions as string. Use it to write max function.

Jaguat_orm 4.x.x has max function.