Skip to contents

Add a soql::soql_select() statement to a query to select a set of columns columns, or return the original query if columns is NULL.

Usage

soql_nullable_select(soql_list, columns)

Arguments

soql_list

A soql query object, which can be piped in. If one hasn't been created yet, use or pipe in soql::soql().

columns

The columns to select, or NULL.

Value

A new soql::soql() object with the selection statement added, or the input object if columns is NULL.