【问题标题】:How can I check the data in my database when creating the pyramid tutorial app?创建金字塔教程应用程序时如何检查数据库中的数据?
【发布时间】:2013-01-18 12:39:12
【问题描述】:

我正在阅读本教程 http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/tutorials/wiki2/index.html 我想看看我添加了哪些页面到我的数据库中。如何查看数据库以查看其中的文件和条目?

【问题讨论】:

    标签: python database pyramid


    【解决方案1】:

    您的项目目录中应该有一个扩展名为 .sqlite 的数据库文件。您可以使用 "sqlite3 myproject.sqlite" 来查看它。进入 sqlite shell 后,您可以键入“.help”以获取有关查看表格的更多命令。

    【讨论】:

    • 谢谢。它是 myproject.sqlite。 SQLite 数据库浏览器对于查看数据库非常有用
    猜你喜欢
    • 2020-07-06
    • 2021-04-10
    • 2020-10-17
    • 2013-01-19
    • 1970-01-01
    • 1970-01-01
    • 2013-03-05
    • 2018-01-31
    • 1970-01-01
    相关资源
    最近更新 更多