def generate(self, where):
if where is None:<EOL><INDENT>return None<EOL><DEDENT>q = self.table.queryables()<EOL>try:<EOL><INDENT>return Expr(where, queryables=q, encoding=self.table.encoding)<EOL><DEDENT>except NameError:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(where, '<STR_LIT:U+002C>'.join(q.keys()))<EOL>)<EOL><DEDENT>
where can be a : dict,list,tuple,string