我知道目前Prisma不支持按多个标量字段排序,(请参阅此问题:https ://github.com/prisma/prisma/issues/62 )。但是,我想知道是否有人在不使用 executeRaw 突变(原始SQL )的情况下找到了解决此问题的解决方案,因为我的代码中有很多地方需要按多个字段排序,而我不想在很多地方使用 executeRaw。我将不胜感激任何建议。谢谢!
问问题
816 次
我知道目前Prisma不支持按多个标量字段排序,(请参阅此问题:https ://github.com/prisma/prisma/issues/62 )。但是,我想知道是否有人在不使用 executeRaw 突变(原始SQL )的情况下找到了解决此问题的解决方案,因为我的代码中有很多地方需要按多个字段排序,而我不想在很多地方使用 executeRaw。我将不胜感激任何建议。谢谢!