useConjunction: useConjunction

Description Usage Arguments Value Examples

Description

Connects query parts with either $and or $or.

Usage

1
useConjunction(firstpart, secondpart, conjunction)

Arguments

firstpart

first part of the query

secondpart

second part of the query

conjunction

which can only be "$and" or "$or"

Value

linked mongo query parts.

Examples

1
useConjunction(c("$regex","$options"),c("syrien","i"),"$and")

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.