Closed stubbies closed 8 years ago
I'm trying to validate if a document exists by using $obj_index->get('test-123'); but if that document doesn't exists it returns the last added one.
$obj_index->get('test-123');
Is this a bug or is this what it's supposed to do?
Doesn't sound right... I'll look into it.
Is this on the local development server or on App Engine?
Just looked at the code. It's a bug.
I'll drop a fix in place shortly.
Thanks
I'm trying to validate if a document exists by using
$obj_index->get('test-123');
but if that document doesn't exists it returns the last added one.Is this a bug or is this what it's supposed to do?