The most interesting part of this code is how we find a location to keep the database files.
上述代码最有趣的部分是我们如何找到一个位置来放置数据库文件。
This type of code execution is punishing to a database.
这类代码执行对于数据库来说是个负累。
The only exception to this is the code in the migration to create a database table, but that can also be done in straight SQL in the database.
其中唯一的例外是迁移中用于创建数据库表的代码,但事实上这也可以通过数据库中的简单SQL完成。
应用推荐