Remove Mongoism query.skip()
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 17 Dec 2012 11:56:29 +0000 (12:56 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 21 Dec 2012 10:30:29 +0000 (11:30 +0100)
commit10f1f2f56b9ff1153b58cb938427d74c8211194b
tree2da4e05cda0edb30ef9bdce5d96b4578e0914dc8
parentaf008743ca89a3f3634efa31718a65ea8adbc2fd
Remove Mongoism query.skip()

sqlalchemy supports slice() or [n:m] just fine.

Right now, it seems we cannot distinguish beween "empty" results
and out-of bound slices. It would be nice if we could distinguish
these somehow.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/db/sql/base.py
mediagoblin/tools/pagination.py