Module:PrUtil

From Fortnite Esports Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:PrUtil/doc

local p = {}

p.QUERIES = {
	'Cumulative', '2018', '2019', '2020', '2021',
	Cumulative = false,
	cumulative = false,
	All = false, -- no further where condition will get removed in util_cargo
	['2018'] = '(T.Date >= "2018-01-01" AND T.Date <= "2018-12-31")',
	['2019'] = '(T.Date >= "2019-01-01" AND T.Date <= "2019-12-31")',
	['2020'] = '(T.Date >= "2020-01-01" AND T.Date <= "2020-12-31")',
	['2021'] = '(T.Date >= "2021-01-01" AND T.Date <= "2021-12-31")',
}

p.QUERIES.current = p.QUERIES['2021']

return p