To recover your lost Database and avoid leaking it: Send us 0.1 Bitcoin (BTC) to our Bitcoin address 1J6jLduCXbPyxt5EMTs7iHwdafANy4ThJc and contact us by Email with your Server IP or Domain name and a Proof of Payment. If you are unsure if we have your data, contact us and we will send you a proof.
问题是我希望我的模型(我使用的是自建的MVC框架)是干净的,所以我在Database中创建了一些函数,比如CreatePost()、EditPost()等,这些函数包含了所需的所有SQL,所以我可以从模型$database->CreatePost(/* post data */);中很好地调用它们。应该将这些函数保存在Database类中,还是应该将它们放在其他地方(比方说,类)?也许我甚至应该放弃函数的想法