Talk:SetTableToSql

From Multi Theft Auto: Wiki
Revision as of 16:23, 12 August 2021 by Alvesvin (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.