- COPYRIGHT AND LICENSE
Gideon::Manual::Removing - Removing objects
Gideon can remove one object or a groups of objects depending on how it is invoked, please make sure you read and understand the documentation as missues of this method can cause data corruption
remove( [%opts] ) as a Class method
remove as a class method will remove a group of objects from a data store, additionally you can filter objects to be remove by providing
%opts and it works in the same way as
find method does.
# Remove all named John People->remove(name => 'John'); # Remove all objects People->remove;
remove() as an Instance method
remove is called to a particular instance it removes that particular instance without affecting other objects
# Remove first person People->find_one(id =>1)->remove;
Removing objects with Gideon
Mariano Wahlmann, Gines Razanov
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Mariano Wahlmann, Gines Razanov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.