gmAndify {gmDatabase} | R Documentation |
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. |
Details
Instead of a conjunction you can create a disjunction using and="|"
. This function is in gmReadInternal
Value
A string of class call
for further use.
Author(s)
K. Gerald van den Boogaart, S. Matos Camacho
See Also
Examples
gmAndify(c("a","b"))
[Package gmDatabase version 0.5.0 Index]