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
How to see a SQLite database content with Visual Studio Code
提问by DEADBEEF
I'm new to Django
and try to see a SQLite3
file.
I'm looking for a way to open and view a database content with visual studio code
like Pycharm can do (see picture)
我是新手Django
并尝试查看SQLite3
文件。我正在寻找一种方法来打开和查看数据库内容,visual studio code
就像 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 数据库
回答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 PostgreSQL
or MySQL
, is not too difficult.
顺便说一句,将 Django 与另一个数据库(例如PostgreSQL
or MySQL
)一起使用并不太困难。