You are here

public function LiteralExpression::__construct in Drupal driver for SQL Server and SQL Azure 7.2

Same name and namespace in other branches
  1. 7.3 sqlsrv/select.inc \LiteralExpression::__construct()

Get an instance of DatabaseExpression

Parameters

mixed $literal:

File

sqlsrv/select.inc, line 592

Class

LiteralExpression
Represents a literal that can be used in different parts of the query builders...

Code

public function __construct($literal) {
  $this->literal = $literal;
}