You are here

public function InsertQuery_sqlsrv::__toString in Drupal driver for SQL Server and SQL Azure 7.3

Same name and namespace in other branches
  1. 7 sqlsrv/query.inc \InsertQuery_sqlsrv::__toString()
  2. 7.2 sqlsrv/query.inc \InsertQuery_sqlsrv::__toString()

Implements PHP magic __toString method to convert the query to a string.

Return value

string The prepared statement.

Overrides InsertQuery::__toString

File

sqlsrv/query.inc, line 174

Class

InsertQuery_sqlsrv
SQL Server-specific implementation of INSERT.

Code

public function __toString() {
  return $this
    ->__toString2(1);
}