AsyncMysqlConnectionPool::connectAndQuery
public function connectAndQuery(
Traversable<string, arraykey> $queries,
string $host,
int $port,
string $dbname,
string $user,
string $password,
AsyncMysqlConnectionOptions $conn_opts,
string $extra_key = '',
dict<string> $query_attributes = dict [
],
): Awaitable<(AsyncMysqlConnectResult, Vector<AsyncMysqlQueryResult>)>;
Parameters
Traversable<string,
arraykey> $queries
string $host
int $port
string $dbname
string $user
string $password
AsyncMysqlConnectionOptions
$conn_opts
string $extra_key = ''
dict<string> $query_attributes = dict [ ]