- ext:
- added distinct() method to SelectResults. generally should only make a difference
when using count().
+ - added options() method to SelectResults, equivalent to query.options() [ticket:472]
- added optional __table_opts__ dictionary to ActiveMapper, will send kw options to
Table objects [ticket:462]
- mssql:
self._ops.update(ops)
self._joinpoint = joinpoint or (self._query.table, self._query.mapper)
+ def options(self,*args, **kwargs):
+ """transform the original mapper query form to an alternate form
+
+ See also Query.options
+
+ """
+ self._query = self._query.options(*args, **kwargs)
+
def count(self):
"""executes the SQL count() function against the SelectResults criterion."""
return self._query.count(self._clause, **self._ops)