Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created March 19, 2015 18:15
Show Gist options
  • Save codedmart/b19f694bf0292c32aa08 to your computer and use it in GitHub Desktop.
Save codedmart/b19f694bf0292c32aa08 to your computer and use it in GitHub Desktop.
db.table('patterns').filter(lambda row:
r.expr(pattern_ids).split(', ').contains(row['id']).not_()
).run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment