mysql.all

mysql.all

mysql.all

Function

Execute a query and return multiple rows of results.

Syntax

Parameters

No parameters.

Return value

TypeDescription
ArrayReturns an array of row objects.

Example

Notes

  • SQL must be set before execution.
  • Batch configuration of binds, batch, and workers is not supported.
  • The MySQL global connection pool grouped by DSN is reused by default; the pool status can be viewed through BT.stats().mysql.
  • Single call subject to BT_MYSQL_QUERY_TIMEOUT_MS limit.