I am trying to do a delete by a primary key using the mapper -> mapper.deleteQuery(new FooModel(fid)); , but I encountered an error. Looking at the delete query the mapper constructed I noticed even null fields from the FooModel where included. Is there a way I can exclude the null values from the query ?
Note: Mapper.Option.saveNullFields(...) wont work on a delete query.