ExprIsNotNull: This class represents the IS NOT NULL test.

ExprIsNotNullR Documentation

This class represents the IS NOT NULL test.

Description

This class represents the IS NOT NULL test.

This class represents the IS NOT NULL test.

Details

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

Super classes

sqlq::Statement -> sqlq::Expr -> sqlq::ExprComp -> ExprIsNotNull

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExprIsNotNull$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
ExprIsNotNull$getTokens()
Returns

A list of Token objects.


Method clone()

The objects of this class are cloneable with this method.

Usage
ExprIsNotNull$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

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


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