dbTalk Databases Forums  

BDB equivalent for SQL Limit index, count ?

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss BDB equivalent for SQL Limit index, count ? in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mahdi
 
Posts: n/a

Default BDB equivalent for SQL Limit index, count ? - 12-16-2006 , 02:00 AM






Hello,

I'm using md5 hashes as a key and my problem is that I want to do
something like the SQL "select * from table limit 20, 30" but without
using any key.

Is there any way in the API to say give me 30 key-value pair starting
at key in the 20'th position.

My problem is that I want to generate paging information for a large
number of records and I want to be able to get to the middle of the
list without having to go through the beginning.

Any thoughts ?


Thanks.

--
Mahdi.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.