on Insert/Update/Delete constructs. These items
currently don't support this functionality, which
also would be a little misleading compared to
values().
- Query.add_column() can accept FromClause objects
in the same manner as session.query() can.
+- sql
+ - Added NotImplementedError for params() method
+ on Insert/Update/Delete constructs. These items
+ currently don't support this functionality, which
+ also would be a little misleading compared to
+ values().
+
- the "passive" flag on session.is_modified()
is correctly propagated to the attribute manager.
return pp
else:
return parameters
-
+
+ def params(self, *arg, **kw):
+ raise NotImplementedError("params() is not supported for INSERT/UPDATE/DELETE statements."
+ " To set the values for an INSERT or UPDATE statement, use stmt.values(**parameters).")
+
def bind(self):
return self._bind or self.table.bind