Logidav Docs

Binary extends FunctionNode

"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
category

DoctrineExtensions

author

Sarjono Mukti Aji me@simukti.net

license

BSD License

Table of Contents

Properties

$stringPrimary  : mixed

Methods

getSql()  : mixed
parse()  : mixed

Properties

$stringPrimary

private mixed $stringPrimary

Methods

getSql()

public getSql(SqlWalker $sqlWalker) : mixed
Parameters
$sqlWalker : SqlWalker
Tags
override

parse()

public parse(Parser $parser) : mixed
Parameters
$parser : Parser
Tags
override

        
On this page

Search results