TokenEmpty: Empty token class.

TokenEmptyR Documentation

Empty token class.

Description

Empty token class.

Empty token class.

Details

This class represents an empty SQL token. It is used in situations where a token is required by the structure of the code, but no actual SQL code needs to be generated.

Super class

sqlq::Token -> TokenEmpty

Methods

Public methods


Method new()

Initializer.

Usage
TokenEmpty$new()
Returns

Nothing.


Method toString()

Converts into a string.

Usage
TokenEmpty$toString()
Returns

A string containing the SQL expression.


Method clone()

The objects of this class are cloneable with this method.

Usage
TokenEmpty$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# No example since this class is not exported.


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