Join Slack
Powered by
Hey, anyone knows if there is a way to get `MIN` o...
# prisma-whats-new
t
taikn
02/22/2018, 2:57 PM
Hey, anyone knows if there is a way to get
MIN
or
MAX
value of an
Int
field in a GraphQL query?
taikn
02/22/2018, 3:02 PM
Lets say i have a type with
price
field and i want to get the entry with lowest price?
h
hvdklauw
02/22/2018, 3:04 PM
ordering it on price ASC then get the first?
👍 1
t
taikn
02/22/2018, 3:09 PM
Oh 😄 didn't think about that, thanks a lot!
2
Views
Open in Slack
Previous
Next