Solar_Sql_Adapter_MysqlReplicated::fetchSql()

public string Solar_Sql_Adapter_MysqlReplicated::fetchSql ( array|string $spec )

Builds the SQL statement and returns it as a string instead of executing it.

Inherited from Solar_Sql_Adapter.

Parameters

  • (array|string) $spec: An array of component parts for a SELECT, or a literal query string.

Returns

  • (string)

Description

Builds the SQL statement and returns it as a string instead of executing it.

Useful for debugging.



Local