pgcom.commuter.Commuter.make_where

static Commuter.make_where(keys: List[str]) psycopg2.sql.Composed[source]

Build WHERE clause from list of keys.

Examples

>>> self.make_where(["version", "task"])
"version=%s AND task=%s"