Navigation Menu

Skip to content

Commit

Permalink
Fix issue 28.
Browse files Browse the repository at this point in the history
Not tested against databases, but verified against MySQL and Postgres
documentation.
  • Loading branch information
pjz committed Jun 21, 2011
1 parent a01f465 commit db99259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/db.py
Expand Up @@ -882,8 +882,8 @@ def delete(self, table, where, using=None, vars=None, _test=False):
where = self._where(where, vars)

q = 'DELETE FROM ' + table
if where: q += ' WHERE ' + where
if using: q += ' USING ' + sqllist(using)
if where: q += ' WHERE ' + where

if _test: return q

Expand Down

0 comments on commit db99259

Please sign in to comment.