summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/assignmapper.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-01-16 22:34:37 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-01-16 22:34:37 +0000
commitd1ede4c75c9c878b8678565c97b4776ffb8aa1b9 (patch)
tree7f293ae0673b93ac1366cfeb22a47d8618acd559 /lib/sqlalchemy/ext/assignmapper.py
parent92a3da15b2535cfc7ace75cd02a35b3d72c6c7ae (diff)
downloadsqlalchemy-d1ede4c75c9c878b8678565c97b4776ffb8aa1b9.tar.gz
added "options" to exported query API
Diffstat (limited to 'lib/sqlalchemy/ext/assignmapper.py')
-rw-r--r--lib/sqlalchemy/ext/assignmapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/assignmapper.py b/lib/sqlalchemy/ext/assignmapper.py
index 2e7c765d9..8c78e7024 100644
--- a/lib/sqlalchemy/ext/assignmapper.py
+++ b/lib/sqlalchemy/ext/assignmapper.py
@@ -30,7 +30,7 @@ def assign_mapper(ctx, class_, *args, **kwargs):
extension = ctx.mapper_extension
m = mapper(class_, extension=extension, *args, **kwargs)
class_.mapper = m
- for name in ['get', 'select', 'select_by', 'selectone', 'get_by', 'join_to', 'join_via', 'count', 'count_by']:
+ for name in ['get', 'select', 'select_by', 'selectone', 'get_by', 'join_to', 'join_via', 'count', 'count_by', 'options']:
monkeypatch_query_method(ctx, class_, name)
for name in ['flush', 'delete', 'expire', 'refresh', 'expunge', 'merge', 'save', 'update', 'save_or_update']:
monkeypatch_objectstore_method(ctx, class_, name)