Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, REPLACE INTO...


I've been burned with replace. The problem is that if you have fields with default values they will be set/reset to the default even if nothing changed. What I'd like to happen is that for any values that I don't supply, the table values remain unchanged.


You can kiss your ON DELETE CASCADE foreign-keyed data goodbye each time you use it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: