mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
clean up session properties / values
This commit is contained in:
parent
aaf9adacc6
commit
db25f241c0
7 changed files with 10 additions and 10 deletions
|
|
@ -41,7 +41,7 @@ async function relationalQuery(
|
|||
async function clickhouseQuery(
|
||||
websiteId: string,
|
||||
filters: QueryFilters & { propertyName?: string },
|
||||
): Promise<{ propertyName: string; dataType: number; propertyValue: string; total: number }[]> {
|
||||
): Promise<{ propertyName: string; total: number }[]> {
|
||||
const { rawQuery, parseFilters } = clickhouse;
|
||||
const { filterQuery, params } = await parseFilters(websiteId, filters, {
|
||||
columns: { propertyName: 'data_key' },
|
||||
|
|
@ -65,8 +65,6 @@ async function clickhouseQuery(
|
|||
return Object.values(result).map((a: any) => {
|
||||
return {
|
||||
propertyName: a.propertyName,
|
||||
dataType: Number(a.dataType),
|
||||
propertyValue: a.propertyValue,
|
||||
total: Number(a.total),
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue