Prev | Index | Next

Simple operations

# in DB-API:
# c = conn.cursor()
# c.execute("UPDATE names SET name='joe'"
#           "WHERE KEY = %s", key)

s = ("UPDATE names SET name = 'joe'"
    "WHERE KEY = %s")
deferred = connectionPool.runOperation(s, key)