This question already has answers here:
List of tables, db schema, dump etc using the Python sqlite3 API

(11个答案)


4年前关闭。





伙计们我想在luasql sqlite3中显示所有表名。我尝试了服务器方式,但没有一个成功。谁能帮我?非常感谢!

最佳答案

SELECT name FROM sqlite_master WHERE type = "table"

关于sqlite - 如何在luasql中显示所有表名,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/36325575/

10-12 01:51