> This isn't an SQLite problem; it's a C problem. You need to make a
> C-style closure: function plus pointer to structure of persistent
> data. Define:
>
>struct write_closure {
>mystructure *next;
>};
>
> or whatever, then put a struct write_closure on the stack and pass a
>
On 12/06/2010 04:09 PM, Igor Tandetnik wrote:
> Jonathan Haws wrote:
>> I am having some troubles figuring out how I can access multiple rows in a
>> table..
>>
>> For example, I have a table that I am trying to "SELECT * FROM some_table;".
>> For each row in the
: [sqlite] Accessing multiple rows at once via a select statement
Quoth Jonathan Haws <jonathan.h...@sdl.usu.edu>, on 2010-12-06 22:51:16 +:
> As an argument to the callback, I pass the address of the array.
> However, I cannot change that address and have it persist through to
>
Quoth Jonathan Haws , on 2010-12-06 22:51:16 +:
> As an argument to the callback, I pass the address of the array.
> However, I cannot change that address and have it persist through to
> the next call for the next row.
This isn't an SQLite problem; it's a C
Jonathan Haws wrote:
> I am having some troubles figuring out how I can access multiple rows in a
> table..
>
> For example, I have a table that I am trying to "SELECT * FROM some_table;".
> For each row in the table, my callback function is
> called.
I predict
I am having some troubles figuring out how I can access multiple rows in a
table..
For example, I have a table that I am trying to "SELECT * FROM some_table;".
For each row in the table, my callback function is called.
What I need to do is have the callback write the data in the rows into
6 matches
Mail list logo