Hi there :spock-hand: How to make an exact filter ...
# orm-help
v
Hi there 🖖 How to make an exact filter with ids ? For example I've created a chat with two people ["123", "234"], and then I want to create group with three people where two of them already have a chat ["123", "234", "345"] before create new chat I check Is there already chat with these people, I sent the Ids but get already chat ID because two of them are in DB
Copy code
query {
  allChats(filter:{
    users_every: {
        id_in: ["123", "234", "345"]
        }
      }
  ){
        id
      }
}
How to fix it ? 🙏