mini\Parsing\SQL\AST\InOperation class

Documentation

IN / NOT IN operation node

Examples:

  • col IN (1, 2, 3) → values is array of LiteralNode
  • col IN (SELECT id FROM t) → values is SubqueryNode
  • col NOT IN (...) → negated = true

Inheritance

Extends: mini\Parsing\SQL\AST\ASTNode

Implements: JsonSerializable

Properties (4)

public string $type
public mini\Parsing\SQL\AST\SubqueryNode|array $values
public bool $negated

Methods (4)

Documentation missing

Check if values is a subquery

Documentation missing

Create a deep clone of this AST node

Source

src/Parsing/SQL/AST/InOperation.php:13-35