MySQL help

deelan ggg at zzz.it
Mon Aug 1 16:19:54 EDT 2005


supercomputer at gmail.com wrote:
> So i'm writing this program to check if a row exists in a table.  If it
> doesn't it inserts it if it does it will update that row with the
> current info.

(...)

quick tip: are you aware of the mysql's REPLACE command?
<http://dev.mysql.com/doc/mysql/en/replace.html>


-- 
deelan, #1 fan of adriana lima!
<http://www.deelan.com/>



More information about the Python-list mailing list