GetDotaStats / site

The GetDotaStats site in all of its glory
http://getdotastats.com
MIT License
7 stars 2 forks source link

Get rid of string concatonations #207

Open jimmydorry opened 8 years ago

jimmydorry commented 8 years ago

The solution is pretty obvious in hindsight. Have them send an item variable for each slot, and allow the schema to treat arbitrary fields as a single variable.

Implement a numeric field called aggregationGroup for schema fields. Schema fields that share an aggregationGroup (that isn't NULL), will be combined for cpv and cgv.

Duplicate values within a player record should not be counted.

MNoya commented 8 years ago

When this is done, the schema examples and utilities.lua should be changed to reflect it