From 74be7a6ed32f4d11c79b0614dd2bac98f4edfa1c Mon Sep 17 00:00:00 2001 From: wuaho Date: Mon, 13 Sep 2021 12:01:44 +0800 Subject: [PATCH] 1 --- models/x_analysis.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/x_analysis.py b/models/x_analysis.py index d6a4b1c..d785f49 100644 --- a/models/x_analysis.py +++ b/models/x_analysis.py @@ -91,6 +91,9 @@ class XAnalysis: elif comparator == 'like': where.append(col.like(f'%{ftv[0]}%')) + elif comparator == 'in': + where.append(col.in_(ftv)) + return where def ltv_model_sql(self):