database 如何使用 Visual Studio Code 查看 SQLite 数据库内容

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40993895/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 08:03:24  来源:igfitidea点击:

How to see a SQLite database content with Visual Studio Code

databasesqlitepycharmvisual-studio-code

提问by DEADBEEF

I'm new to Djangoand try to see a SQLite3file. I'm looking for a way to open and view a database content with visual studio codelike Pycharm can do (see picture) Database content view in Pycharm

我是新手Django并尝试查看SQLite3文件。我正在寻找一种方法来打开和查看数据库内容,visual studio code就像 Pycharm 可以做的一样(见图)Pycharm 中的数据库内容视图

Does an extension could do that? Is it possible to achieve this in VSC?

扩展可以做到这一点吗?是否有可能在 VSC 中实现这一点?

回答by Alex Covizzi

I published an extension to query and explore sqlite3 databases

我发布了一个扩展来查询和探索 sqlite3 数据库

vscode-sqlite

vscode-sqlite

回答by Joey

Obviously, there is not yet a corresponding extension for vscode. Me, if necessary, I use "SQLite-Database-Browser". Very simple and sufficient for my purposes.

显然,vscode 还没有相应的扩展。如有必要,我会使用“SQLite-Database-Browser”。非常简单,足以满足我的目的。

If you want to give it a try: SQLite-Database-Browser

如果您想尝试一下:SQLite-Database-Browser

By the way, using Django with another database, such as PostgreSQLor MySQL, is not too difficult.

顺便说一句,将 Django 与另一个数据库(例如PostgreSQLor MySQL)一起使用并不太困难。