I have the following select query ```const select ...
# orm-help
j
I have the following select query
Copy code
const select = {
        id: true,
        firstName: true,
        middleName: true,
        lastName: true,
        email: true,
        userGroups: {
          select: {
            groupId: true,
            userId: true,
            group: {
              select: {
                id: true,
                name: true,
                isActive: true
              },
              where: {
                id: 1
              }
            }
          },
          where: {
            groupId: 1
          }
        }
      }
client.findMany({ select });
the where clause on “userGroups: works perfect, the where clause on “group” does not. error: Unknown arg
where
in select.userGroups.select.group.where for type group. Did you mean
select
? Available args:type group {} Is there a nesting limit?