fieldValuePair: fieldValuePair

Description Usage Arguments Value Examples

Description

Creates field value pair, called by buildRegexQuery

Usage

1
fieldValuePair(key, value, conjunction)

Arguments

key,

fields to search. "text" or "entitites.hashtags.text"

value,

regex and options as value. use operatorValuePair()

conjunction

used for the regular expressions. Can only by "$and" or "$or"

Value

field value pair used by buildRegexQuery()

Examples

1
2
#fieldValuePair(key = c("entitites.hashtags.text","text"),value =
#operatorValuePair(c("$regex","$options"),c("syrien","i")),"$or")

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