[R-sig-DB] Add a "dbSendUpdate" function to DBI?

Hadley Wickham h@d|ey @end|ng |rom r@tud|o@com
Thu Sep 4 16:54:24 CEST 2014


On Thu, Sep 4, 2014 at 9:28 AM, Denis Mukhin <denis.x.mukhin using oracle.com> wrote:
> In ROracle we standardized on the second approach, namely always return TRUE, otherwise throw an error.
>
> Also since UPDATE is not the only operation that does not return any results (although it might with a RETURNING clause) would a more generic name be more appropriate here? Besides DMLs there are also DDLs. Something like dbExecute(), dbSubmit(), dbSend() ...

How about dbExecuteQuery() ?

(dbSendQuery() is already taken.)

Hadley

-- 
http://had.co.nz/




More information about the R-sig-DB mailing list