I'm using Spring Data with MongoDB using MongoRepository.
I was wondering if it is possible do a delete by filter using query annotation. I have been looking here and google and I cannot find any documentation.
@Query(value="{'id' : $0}", delete = true)
public Person deleteById (String id);