On Fri, May 8, 2015 at 11:20 AM, Simon Slavin <slavins at bigfraud.org> wrote:
> On 8 May 2015, at 6:43pm, Peter Aronson <pbaronson at att.net> wrote:
>> Well, there's sqlite3_stmt_readonly which appears to do pretty much what 
>> you're asking for: https://www.sqlite.org/c3ref/stmt_readonly.html.
>
> Suppose you have this statement
>
> DELETE FROM myTable WHERE id=600
>
> and there are no rows with id=600.  I presume that the function will return 
> FALSE but a literal reading of the description says that it will return TRUE. 
>  If I'm right then it might be useful to rewrite the documentation a little.

Why would you presume that it would return FALSE?  That would
essentially require executing the statement, which definitely _would_
be something useful to add to the documentation (but I doubt it does
that).

-scott

Reply via email to