Eisuke Oishi > DBIx-ObjectMapper-0.3013 > DBIx::ObjectMapper::Session

Download:
DBIx-ObjectMapper-0.3013.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

DBIx::ObjectMapper::Session

SYNOPSIS ^

 my $session = $mapper->begin_session;

DESCRIPTION ^

METHODS ^

new

create a new session instance.

ATTRIBUTES

uow

accessor for a DBIx::ObjectMapper::Session::UnitOfWork object.

engine

accessor for a engine object.

autocommit

autoflush

add

Place an object in the Session.

add_all

Add the list of objects to this Session.

delete

Mark a object as deleted. The database delete operation occurs on flush().

detach

Remove the object from this Session.

search

get

flush

Flush all the object changes to the database.

commit

Flush pending changes and commit the current transaction.

rollback

rollback the current transaction.

start_transaction

txn

transaction

AUTHOR ^

Eisuke Oishi

COPYRIGHT ^

Copyright 2010 Eisuke Oishi

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: