Commit 819dca1e authored by Daniel Bluhm's avatar Daniel Bluhm
Browse files

Remove deprecated count call

Replaced with countDocuments
Signed-off-by: Daniel Bluhm's avatarDaniel Bluhm <>
parent 3f6b403b
......@@ -64,7 +64,7 @@ public class $class implements $interface<$elementInterface> {
public long clear() throws Exception {
long count = this.collection.count();
long count = this.collection.countDocuments();
return count;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment