IfNull
extends FunctionNode
in package
Usage: IFNULL(expr1, expr2)
If expr1 is not NULL, IFNULL() returns expr1; otherwise it returns expr2. IFNULL() returns a numeric or string value, depending on the context in which it is used.
Tags
Table of Contents
Properties
Methods
Properties
$expr1
private
mixed
$expr1
$expr2
private
mixed
$expr2
Methods
getSql()
public
getSql(SqlWalker $sqlWalker) : mixed
Parameters
- $sqlWalker : SqlWalker
parse()
public
parse(Parser $parser) : mixed
Parameters
- $parser : Parser