build_query: Builds a MySQL query aimed at the EventLogging-centric...

Description Usage Arguments

View source: R/mysql.R

Description

Constructs a MySQL query with a conditional around date. This is aimed at eventlogging, where the date/time is always "timestamp".

Usage

1
build_query(fields, table, date = NULL, conditionals = NULL)

Arguments

fields

the SELECT statement

table

the table to use

date

the date to restrict to. If NULL, yesterday will be used

conditionals

other conditions to include in the WHERE statement


wikimedia/wikimedia-discovery-wmf documentation built on Feb. 7, 2021, 12:19 a.m.