make_rows: Create a list of rows of values

View source: R/factories.R

make_rowsR Documentation

Create a list of rows of values

Description

Create a StmtValues instance.

Usage

make_rows(values)

Arguments

values

A list of lists/vectors of values, each reprensenting a row.

Value

An instance of StmtValues.

Examples

# To generate a VALUES statement with two rows:
rows <- make_rows(list(list('John Smith', 'Memories', 1999),
                       list('Barbara', 'My Life', 2010)))


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