ExprIsNull: This class represents the IS NULL test.

ExprIsNullR Documentation

This class represents the IS NULL test.

Description

This class represents the IS NULL test.

This class represents the IS NULL test.

Details

Used to test if a field is NULL inside a WHERE clause.

Super classes

sqlq::Statement -> sqlq::Expr -> sqlq::ExprComp -> ExprIsNull

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExprIsNull$new(expr, ...)
Arguments
expr

The Expr instance to test.

...

Arguments to pass to parent class.

Returns

Nothing.


Method getTokens()

Generates the list of tokens representing this statement.

Usage
ExprIsNull$getTokens()
Returns

A list of Token objects.


Method clone()

The objects of this class are cloneable with this method.

Usage
ExprIsNull$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# To generate a NULL test:
ExprIsNull$new(ExprField$new("title"))


sqlq documentation built on Sept. 16, 2025, 9:10 a.m.