mysql.query

mysql.query

mysql.query

Function

Sets the SQL text of the current MySQL object.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
sqlAnyNo''SQL text, which will be converted to a string first when called.

Return value

TypeDescription
MysqlReturns the new MySQL query builder.

Example

Notes

  • query does not connect to the database, only saves SQL.