[odb-users] help! I want to query some line(20 rows) from a table, how to do it ?

Boris Kolpackov boris at codesynthesis.com
Wed Jul 23 02:57:53 EDT 2014


Hi,

qgjie <qgjie at 163.com> writes:

> I known the SQL like this "select type from FixedLine  limit 0, 20",
> but ODB? USE VIEW ?

You can easily append any SQL clauses to object queries. Here is an
earlier post that shows how to add LIMIT/OFFSET:

http://www.codesynthesis.com/pipermail/odb-users/2012-January/000429.html

Boris



More information about the odb-users mailing list