eriq-augustine / clefable

IRC Chatbot
6 stars 0 forks source link

Lockdown DB #101

Closed eriq-augustine closed 12 years ago

eriq-augustine commented 12 years ago

DB::db should not be public. It is too dangerous, remove it and do all queries through DB::

eriq-augustine commented 12 years ago

Also, update/query should have less ambiguous names since they will be mixins. dbUpdate/dbQuery?

eriq-augustine commented 12 years ago

DB::db was replaces with a private DB::mysqlDb. update/query replaced with dbUpdate/dbQuery. 3cffefe4c4c13fe3c92cb010f7e74a8b31611ff4