template<
PoolConfig Config>
class Lightweight::Pool< Config >::PooledDataMapper
A wrapper around a DataMapper that returns it to the pool when destroyed can be created only from the Pool and is move-only to ensure it is always returned to the pool when it goes out of scope
On return, a transaction still open on the connection is rolled back, so the next caller starts outside any transaction. That covers transactions ODBC knows about - a SqlTransaction, or autocommit switched off by hand. A transaction opened by executing a raw BEGIN statement is invisible to ODBC: ending it is the caller's responsibility, and SqlTransaction is the way to have it ended on every exit path.
Definition at line 212 of file Pool.hpp.