Details
-
Improvement
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
While this is technically not a bug because it doesn't break the method contract, it is completely unnecessary and particularly strange in case of a query with 0 results, because in this case it will return -1 even when the object has just been created. This is particularly annoying if the query is part of a union.