Skip to content

Instantly share code, notes, and snippets.

@rixx
Created August 21, 2014 15:23
Show Gist options
  • Save rixx/75dbecd1465721551ee2 to your computer and use it in GitHub Desktop.
Save rixx/75dbecd1465721551ee2 to your computer and use it in GitHub Desktop.
where01
if not where:
select.where = joinList[tablename].right.__getattr__(column) == operand
else:
select.where &= joinList[tablename].right.__getattr__(column) == operand
where = True
-----
passender_variablenname = joinList[tablename].right.__getattr__(column) == operand
select.where = passender_variablenname if where is False else passender_variablenname & select.where
where = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment