diff --git a/lib/clickhouse.js b/lib/clickhouse.js index 84be902b..15304214 100644 --- a/lib/clickhouse.js +++ b/lib/clickhouse.js @@ -72,18 +72,10 @@ function getFilterQuery(column, filters = {}, params = []) { switch (key) { case 'url': - arr.push(`and ${key}=$${params.length + 1}`); - params.push(decodeURIComponent(filter)); - break; - case 'os': case 'browser': case 'device': case 'country': - arr.push(`and ${key}=$${params.length + 1}`); - params.push(decodeURIComponent(filter)); - break; - case 'event_name': arr.push(`and ${key}=$${params.length + 1}`); params.push(decodeURIComponent(filter));