ExprListFields: This class represents a list of fields.

ExprListFieldsR Documentation

This class represents a list of fields.

Description

This class represents a list of fields.

This class represents a list of fields.

Details

Used to define a list of ExprField instances for the INSERT query.

Super classes

sqlq::Statement -> sqlq::Expr -> sqlq::ExprList -> ExprListFields

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExprListFields$new(fields)
Arguments
fields

A list of ExprField instances.

Returns

Nothing.


Method clone()

The objects of this class are cloneable with this method.

Usage
ExprListFields$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# To generate the list of fields "id", "title", "year":
ExprListFields$new(list(ExprField$new("id"),
                        ExprField$new("title"),
                        ExprField$new("year")))


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