[CalendarServer-changes] [9603] CalendarServer/branches/users/glyph/q
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 11 01:54:44 PDT 2012
Revision: 9603
http://trac.macosforge.org/projects/calendarserver/changeset/9603
Author: glyph at apple.com
Date: 2012-08-11 01:54:44 -0700 (Sat, 11 Aug 2012)
Log Message:
-----------
Add a where clause
Modified Paths:
--------------
CalendarServer/branches/users/glyph/q/twext/enterprise/dal/syntax.py
Property Changed:
----------------
CalendarServer/branches/users/glyph/q/
Modified: CalendarServer/branches/users/glyph/q/twext/enterprise/dal/syntax.py
===================================================================
--- CalendarServer/branches/users/glyph/q/twext/enterprise/dal/syntax.py 2012-08-11 08:54:43 UTC (rev 9602)
+++ CalendarServer/branches/users/glyph/q/twext/enterprise/dal/syntax.py 2012-08-11 08:54:44 UTC (rev 9603)
@@ -1502,7 +1502,8 @@
table = self._returnAsList()[0].model.table
rowidcol = ColumnSyntax(Column(table, "rowid",
SQLType("integer", None)))
- prequery = Select([rowidcol], From=TableSyntax(table))
+ prequery = Select([rowidcol], From=TableSyntax(table),
+ Where=self.Where)
preresult = prequery.on(txn, *a, **kw)
before = yield preresult
yield upcall()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120811/75c1742c/attachment.html>
More information about the calendarserver-changes
mailing list