Elastic::Model::Deleted - A class to represent deleted doc objects which are still in scope
When an object in scope is deleted, it is reblessed into Elastic::Model::Deleted, which throws an error if any method other than those listed below are called.
$user = $domain->get( user => 1 ); $user->delete; print $user->name; # throws error
$uid = $deleted_doc->uid
The original UID of the deleted doc.
1 == $deleted->has_been_deleted()
Returns true without checking Elasticsearch. This method is provided so that it can be called in an "on_conflict" in Elastic::Model::Role::Doc handler.
Clinton Gormley <firstname.lastname@example.org>
This software is copyright (c) 2015 by Clinton Gormley.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.