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.
没有评论:
发表评论