Details
-
New Feature
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
1.6.1
-
None
-
None
Description
In order to test for the existence of an object, a find(template).count() > 0 can be used to determine if a Document matching the template currently exists. However, this is work that doesn't need to be done. Instead, it would be nice if a call like: find(template).exists() or exists(template) could be used. In this case a simple boolean true/false return value would be sufficient.