session<R> method
Implementation
@override
FutureOr<R> session<R>(FutureOr<R> Function(SessionExecutor) callback) {
return pool.withConnection((c) async {
return await callback(MySQLExecutor(c));
});
}
@override
FutureOr<R> session<R>(FutureOr<R> Function(SessionExecutor) callback) {
return pool.withConnection((c) async {
return await callback(MySQLExecutor(c));
});
}