[REBOL] Re: MySQL... Rows affected after an update
From: g:santilli:tiscalinet:it at: 30-Aug-2001 10:46
Hello Ric!
On 29-Ago-01, you wrote:
RG> db: open mysql://localhost/database
RG> comm: first db
RG> insert comm {update table set column = 'new value' where
RG> column = 'old value'}
Ah! So you're using /Command, it seems...
RG> I tried your suggestion, Gabriele, on both 'db/locals and
RG> 'comm/locals. I couldn't find anything that looked right in
RG> either place.
I'm sorry, I thought you were using Nenad's mysql-protocol.r...
RG> Where can I find mysql-monitor.r? I looked for it in the
RG> script library and other places, but no luck.
RG> BTW, I looked at Maarten's solution, but I need something
RG> cross-platform.
Try to go to DocKimbel's reb site. You'll find a mysql:// protocol
written entirely in REBOL. That is the one I'm using; but if
you're using /Command, you probably don't need it... I think
/Command should be able to give you the number of affected rows,
too. (Dunno how, sorry. :( )
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/