fathom/pkg/datastore/sqlstore
Danny van Kooten 2ff9676043 always show at least 1 visitor if there are pageviews. #129 2018-09-19 08:21:04 +02:00
..
migrations get rid of session_id and move knowledge of previous pageview to client. this also gets rid of the (only) index on the pageviews table, allowing for much faster INSERT's. closes #14 2018-07-11 15:03:56 +02:00
seed introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29 2018-05-15 13:30:37 +02:00
config.go don't parse database driver from URL to also support mysql and sqlite. 2018-07-31 15:29:15 +02:00
config_test.go build postgres dsn string dynamically 2018-07-30 09:33:49 +02:00
page_stats.go fix postgres errors by converting to null in divisions. closes #54 relates to #52 2018-06-08 15:39:38 +02:00
pageviews.go fix query args for batch updating pageviews 2018-07-30 10:51:20 +02:00
referrer_stats.go add NULLIF in group statement because of go null values = empty string 2018-06-08 16:00:32 +02:00
site_stats.go always show at least 1 visitor if there are pageviews. #129 2018-09-19 08:21:04 +02:00
sqlstore.go Adding /health endpoint and using it in container 2018-09-17 17:20:48 +02:00
users.go add CountUsers func to sqlstore 2018-09-12 09:11:50 +02:00