PDA

View Full Version : Adding new tables and DELETE FROM statements


Cloudrunner
07-02-2005, 02:58 AM
Using the new setup I am assuming that for DELETE FROM statements, we would use $vbulletin->db->query_write(); due to the fact that we are not reading? Is this correct, and if so, would it be the same for creating new tables and dropping old ones?

Thanks again folks!

)O( Cloudrunner )O(

Link14716
07-02-2005, 07:05 AM
Yes. Anything that modifies the database (update, insert, dropping, deleting) should use query_write.

Cloudrunner
07-02-2005, 10:42 AM
Yes. Anything that modifies the database (update, insert, dropping, deleting) should use query_write.
Thank you for the clarification.