mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-31 03:16:42 -05:00
fix: support "ne" (not equal) filter in Prisma adapter (#2993)
This commit is contained in:
@@ -68,6 +68,8 @@ export const prismaAdapter = (prisma: PrismaClient, config: PrismaConfig) =>
|
||||
return "startsWith";
|
||||
case "ends_with":
|
||||
return "endsWith";
|
||||
case "ne":
|
||||
return "not";
|
||||
default:
|
||||
return operator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user