```sql create table variables ( name text not null, key text not null, value text not null, email text not null, primary key(name, key) ); insert into variables (name, key, value, email) values ('a', 'b', 'c', 'd'); ``` ```ts // typescript error client.variables.findOne({ where: { variables_name_key_key: { key: 'b', name: 'a' } } }) client.variables.update({ where: { variables_name_key_key: { key: 'b', name: 'a' } } }) client.variables.delete({ where: { variables_name_key_key: { key: 'b', name: 'a' } } }) ``` Related: https://github.com/prisma/prisma-client-js/issues/489
Related: #489