@robin
select.where
옵션이 있을 걸요?
@robin 저는 이런 식으로 쓰고 있어요.
export const Account = builder.drizzleNode("accountTable", {
name: "Account",
id: {
column: (account) => account.id,
},
select: {
where: {
usernameChanged: { isNull: true }
}
},
fields: (t) => ({
// ...
}),
});