Is it possible to sort by two columns? Given this...
# prisma-client
j
Is it possible to sort by two columns? Given this collection:
Copy code
[
  {
    nickname: null,
    lastName: 'Smith'
  },
  {
    nickname: 'Billy',
    lastName: 'White',
  }
]
If i’m calling
findMany
and i want to
orderBy
but i want to do something like
[nickname || lastName]: 'asc'
and then Billy would be the first item in the response as Smith comes after Billy.