diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2005-12-07 01:37:55 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2005-12-07 01:37:55 +0000 |
commit | 44abaa9e567e6c412a2ce499907c65d97aa865dc (patch) | |
tree | 220c93883b683dcbaf2791a4caf269320abca1d1 /lib/sqlalchemy/util.py | |
parent | 478b0e15ed70ae109e76b696efe151b7acac036b (diff) | |
download | sqlalchemy-44abaa9e567e6c412a2ce499907c65d97aa865dc.tar.gz |
added rudimentary support for limit and offset (with the hack version in oracle)
fixed up order_by to support a list/scalar of columns or asc/desc
fixed up query.py unit test
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r-- | lib/sqlalchemy/util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index c247c86ed..d280368f6 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -23,6 +23,8 @@ def to_list(x): return None if not isinstance(x, list) and not isinstance(x, tuple): return [x] + else: + return x class OrderedProperties(object): """an object that maintains the order in which attributes are set upon it. |