-
Type:
New Feature
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 1.6.1
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.