Update insights report parameters. Added contains logic.

This commit is contained in:
Mike Cao 2024-03-22 23:33:45 -07:00
parent d59477deb5
commit 5daad2726e
15 changed files with 280 additions and 190 deletions

View file

@ -100,6 +100,8 @@ function mapFilter(column: string, filter: string, name: string, type = 'varchar
return `${column} != {{${name}::${type}}}`;
case OPERATORS.contains:
return `${column} like {{${name}::${type}}}`;
case OPERATORS.doesNotContain:
return `${column} not like {{${name}::${type}}}`;
default:
return '';
}