Talk:SetTableToSql

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function seems too opinionated to be a useful function. The author is using "executeSQLQuery" which acts only upon registry.db. 1) What is registry.db meant for? 2) This is not good because the user can't choose where it want it to be stored which potentially creates a mess on the data management. My suggestion is to pass in the connection as an argument of the function.