Learn R Programming

gmDatabase (version 0.5.0)

gmAndify: Creating a conjunction

Description

gmAndify creates a call, which is a conjunction of list elements given in its arguments for further use in ON or WHERE clauses of SQL statements

Usage

gmAndify(l,and="&")

Arguments

l
list of elements, which shall be conjuncted
and
determines the kind of conjunction being used. Default case is the logical AND.

Value

call for further use.

Details

Instead of a conjunction you can create a disjunction using and="|". This function is in gmReadInternal

See Also

gmRead

Examples

Run this code
gmAndify(c("a","b"))

Run the code above in your browser using DataLab