Binary
extends FunctionNode
in package
"BINARY" "(" stringPrimary ")"
The BINARY operator casts the string following it to a binary string. This is an easy way to force a column comparison to be done byte by byte rather than character by character. This causes the comparison to be case sensitive even if the column is not defined as BINARY or BLOB. BINARY also causes trailing spaces to be significant.
Tags
Table of Contents
Properties
- $stringPrimary : mixed
Methods
Properties
$stringPrimary
private
mixed
$stringPrimary
Methods
getSql()
public
getSql(SqlWalker $sqlWalker) : mixed
Parameters
- $sqlWalker : SqlWalker
Tags
parse()
public
parse(Parser $parser) : mixed
Parameters
- $parser : Parser