2021年1月2日星期六

What is the equivalent of sqlite_master System Table in mysql?

My goal is just to use that SQL command but to traduct it from sqlite to mysql :

cursor.execute(f"SELECT count(*) FROM sqlite_master WHERE type='table' AND name='{ctx.guild.id}_counters'")

In MySQL things are different i saw that on internet so is there an equivalent of FROM sqlite_master that means FROM every table of the database in MySQL.

https://stackoverflow.com/questions/65545727/what-is-the-equivalent-of-sqlite-master-system-table-in-mysql January 03, 2021 at 09:05AM

没有评论:

发表评论