How to delete a list of nodes by a field value?

Hi @tiagoantunes, yeah you can do this with GraphQL.
Here, is the delete mutation.

  mutation deleteAuthor{
      deletePost(filter:{author:{in:["Jason","Joline","Machado"]}}){
       msg
       title
       author
      }
    }

I guess in filter is added recently and is currently available in master and will be available in 20.11.

4 Likes