AsyncMysqlConnectionPool::connectAndQuery

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

Parameters

  • AnyArray<arraykey, string> $queries
  • string $host
  • int $port
  • string $dbname
  • string $user
  • string $password
  • AsyncMysqlConnectionOptions $conn_opts
  • string $extra_key = ''
  • dict<string, string> $query_attributes = dict [ ]

Returns