Windshaft-cartodb/lib/cartodb/models/dataview
IagoLast 3850bbb68e Send dates as unix epoch instead strings in .mvt files
This commit creates a new ConfigAdapter used in vector maps instantiations.
This adapter generates a new sql query for ONE SINGLE LAYER (carto-vl currently only supports one layer per mvt)
where the date columns are wrapped into a epoch using the `date_part` function.

Due this mvt files are smaller since we use numbers instead strings to represent dates, this is also faster in carto-gl
where we interpolate linearly between 0 and 1 to create animations.

Notice we should add a parameter to make this transformation optional.
We also should take into account the epoch precission.
2018-05-31 17:49:40 +02:00
..
histograms Send dates as unix epoch instead strings in .mvt files 2018-05-31 17:49:40 +02:00
overviews Optimize formulae queries 2017-12-11 11:27:13 +01:00
aggregation.js Aggregation count: Do not return null categories 2018-03-08 18:13:20 +01:00
base.js handling pg_typeof undefined 2018-05-10 18:36:08 +02:00
factory.js Use destructuring assignment to improve readability 2017-09-15 14:07:46 +02:00
formula.js Optimize formulae queries 2017-12-11 11:27:13 +01:00
histogram.js Use hasOwnProperty method to check if histogram is a time-series 2017-09-12 10:38:53 +02:00
index.js Removes list dataview type 2017-09-28 10:47:44 +00:00