ExprValue: This class represents an SQL value.

ExprValueR Documentation

This class represents an SQL value.

Description

This class represents an SQL value.

This class represents an SQL value.

Details

Used to reprensent an SQL value.

Super classes

sqlq::Statement -> sqlq::Expr -> ExprValue

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExprValue$new(value)
Arguments
value

The value.

Returns

Nothing.


Method getTokens()

Generates the list of tokens representing this statement.

Usage
ExprValue$getTokens()
Returns

A list of Token objects.


Method clone()

The objects of this class are cloneable with this method.

Usage
ExprValue$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# To generate the integer value 30:
ExprValue$new(30L)

# To generate the string value "abcd":
ExprValue$new("abcd")


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