On 3/8/06, Pam Greene <[EMAIL PROTECTED]> wrote:
> On 3/8/06, cstrader <[EMAIL PROTECTED]> wrote:
> >
> > Would someone be willing to share with me c++ code that reads the result
> > of a select query into an array representing the data of the j rows in a
> > selected column?  I understand that callback() is executed once for each row
> > of the data.  But what is the best and fastest way to iteratively write
> > these row data into a single array that I can pass to my host program?
>
>
> Have you looked at sqlite3_get_table()?

Useful, but it doesn't have a method of using bound parameters.
It makes you vulnerable to sql injection attacks.

Reply via email to