def build_comparison(tok):
assert type(tok) is S.Comparison
m = M.Comparison()
for tok in remove_whitespace(tok.tokens):
LOG.debug(" %s %s", tok, type(tok))
m = sql_literal_to_model(tok, m)
if not m:
raise Exception("[BUG] Failed to convert %s to model" % tok)
return m
评论列表
文章目录