DBIO-Async

 view release on metacpan or  search on metacpan

lib/DBIO/Async/Storage.pm  view on Meta::CPAN

access. Fed the per-spawn C<conninfo_provider> when an AccessBroker is attached
(see L<DBIO::Storage::Async/_conninfo_provider>), otherwise the static
conninfo.

=head2 _async_broker_conninfo

  my $conninfo = $storage->_async_broker_conninfo($mode);

AccessBroker seam (see L<DBIO::Storage::Async/ACCESSBROKER CONSUMPTION>):
return one fresh, storage-native conninfo for a single new pool connection,
built from the current broker credentials via the inherited normalisation.

=head2 _query_async

Transport override: execute a query on a freshly-acquired pooled connection,
releasing it once the Future is ready.

Receives SQL in the C<sql_maker> C<?>-placeholder dialect (the core #70 seam
contract) and shapes it into the driver's own dialect B<internally>, up front,
through L</_transform_sql> before the query reaches the wire -- callers no longer
pre-shape. The C<?>-E<gt>C<$N>-style rewrite is idempotent on already-shaped SQL



( run in 1.172 second using v1.01-cache-2.11-cpan-007c89162af )