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="&")

Value

A string of class call for further use.

Arguments

l

list of elements, which shall be conjuncted

and

determines the kind of conjunction being used. Default case is the logical AND.

Author

K. Gerald van den Boogaart, S. Matos Camacho

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