where: {
AND: [
{ key_id: { in: branchKeyIds } },
{ key_id: { notIn: machineSpecificKeyIds } },
{ key_id: { notIn: inHouseTestKeyIds } },
{ key_id: { notIn: weekendKeyIds } },
{ key_id: { notIn: win32OnlyKeyIds } },
{ test_num: { notIn: exclusionTestNums } },
{ test_num: { lt: 24000 } },
],
},
where: {
AND: [
{ key_id: { in: branchKeyIds } },
{ key_id: { notIn: machineSpecificKeyIds } },
{ key_id: { notIn: inHouseTestKeyIds } },
{ key_id: { notIn: weekendKeyIds } },
{ key_id: { notIn: win32OnlyKeyIds } },
{ test_num: { notIn: exclusionTestNums } },
{ test_num: { lt: 24000 } },
],
},