DBIx::ObjectMapper::Session
my $session = $mapper->begin_session;
create a new session instance.
engine
a engine object which subclass of DBIx::ObjectMapper::Engine.
autocommit
Defaults to True. the session will commit changes to the engine after destroy the session object.
if False, you call "commit" methods, then the session will commit changes to the engine,
autoflush
share_object
no_cache
cache
search_class
change_checker
accessor for a DBIx::ObjectMapper::Session::UnitOfWork object.
accessor for a engine object.
Place an object in the Session.
Add the list of objects to this Session.
Mark a object as deleted. The database delete operation occurs on flush().
Remove the object from this Session.
Flush all the object changes to the database.
Flush pending changes and commit the current transaction.
rollback the current transaction.
Eisuke Oishi
Copyright 2010 Eisuke Oishi
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBIx::ObjectMapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::ObjectMapper
CPAN shell
perl -MCPAN -e shell install DBIx::ObjectMapper
For more information on module installation, please visit the detailed CPAN module installation guide.