Ok,
Thanks.

On Sun, Apr 12, 2015 at 2:08 PM, Stephan Beal <sgbeal at googlemail.com> wrote:
> On Sun, Apr 12, 2015 at 2:04 PM, gwenn <gwenn.kahz at gmail.com> wrote:
>
>> Thanks for reply.
>> Could you please elaborate ?
>> For me, there is no way to know if the specified column index is
>> invalid by using the column value returned by
>> sqlite3_column_blob/text/int .
>>
>
> i was mistaken: the docs say:
>
>
> "If the SQL statement does not currently point to a valid row, or if the
> column index is out of range, the result is undefined. "
>
> But you can figure out the count:
>
> http://sqlite.org/c3ref/column_count.html
>
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
> "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
> those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to