StmtUpdate: UPDATE statement.

StmtUpdateR Documentation

UPDATE statement.

Description

UPDATE statement.

UPDATE statement.

Details

This class represents a SQL UPDATE statement. It requires a table name.

Super class

sqlq::Statement -> StmtUpdate

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
StmtUpdate$new(tabl)
Arguments
tabl

A table name.

Returns

Nothing.


Method getTokens()

Generates the list of tokens representing this statement.

Usage
StmtUpdate$getTokens()
Returns

A list of Token objects.


Method clone()

The objects of this class are cloneable with this method.

Usage
StmtUpdate$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# Create an UPDATE statement for table 'books':
update <- StmtUpdate$new("books")


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