Gideon::Manual::Removing - Removing objects
version 0.0.3
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] )
Calling 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
%opts
find
# Remove all named John People->remove(name => 'John'); # Remove all objects People->remove;
remove()
When 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
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.
To install Gideon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gideon
CPAN shell
perl -MCPAN -e shell install Gideon
For more information on module installation, please visit the detailed CPAN module installation guide.