Re: [sqlite] Reading strings and blobs

2005-07-22 Thread Nuno Lucas
[23-07-2005 1:29, D. Richard Hipp escreveu] On Fri, 2005-07-22 at 19:15 -0500, Shawn Walker wrote: Is there a way to have sqlite to call a callback function to read in strings and blobs? No. If your blobs are too big to fit in memory, perhaps you should consider storing them each in a separ

Re: [sqlite] Reading strings and blobs

2005-07-22 Thread Shawn Walker
D. Richard Hipp wrote: On Fri, 2005-07-22 at 19:15 -0500, Shawn Walker wrote: Is there a way to have sqlite to call a callback function to read in strings and blobs? No. If your blobs are too big to fit in memory, perhaps you should consider storing them each in a separate file and then st

Re: [sqlite] Reading strings and blobs

2005-07-22 Thread Roger Binns
If your blobs are too big to fit in memory, perhaps you should consider storing them each in a separate file and then store just the filename in the database. That assumes you have a filesystem :-) I too would like random access to strings and blobs (especially the latter). In many cases isn't

Re: [sqlite] Reading strings and blobs

2005-07-22 Thread D. Richard Hipp
On Fri, 2005-07-22 at 19:15 -0500, Shawn Walker wrote: > Is there a way to have sqlite to call a callback function to read in > strings and blobs? No. If your blobs are too big to fit in memory, perhaps you should consider storing them each in a separate file and then store just the filename in

[sqlite] Reading strings and blobs

2005-07-22 Thread Shawn Walker
Is there a way to have sqlite to call a callback function to read in strings and blobs? What I mean is that we have some very large data and rather not consume all those memory, so what I want to do is pass a user defined pointer that contains a pointer to a file handle (as an example) and tha