@wp-playground/clientFunctionsrunSqlrunSql CallablerunSql(php: UniversalPHP, args: Omit<RunSqlStep<File>, step>, progressArgs?: StepProgress): anyRun one or more SQL queries. This step will treat each non-empty line in the input SQL as a query and try to execute it using $wpdb. Queries spanning multiple lines are not yet supported.Parametersphp: UniversalPHPA PHP instance or Playground client.args: Omit<RunSqlStep<File>, step>optionalprogressArgs: StepProgressReturns any
Run one or more SQL queries.
This step will treat each non-empty line in the input SQL as a query and try to execute it using
$wpdb
. Queries spanning multiple lines are not yet supported.