sphinx\Command bindValue()

bindValue() public method

Binds a value to a parameter.

public $this bindValue ( $name, $value, $dataType = null )
$name string|integer

Parameter identifier. For a prepared statement using named placeholders, this will be a parameter name of the form :name. For a prepared statement using question mark placeholders, this will be the 1-indexed position of the parameter.

$value mixed

The value to bind to the parameter

$dataType integer

SQL data type of the parameter. If null, the type is determined by the PHP type of the value.

return $this

The current command being executed

doc_Yii
2016-10-30 17:11:47
Comments
Leave a Comment

Please login to continue.