开发者

Can I create more than 1 table at a time in a SQLite query in Actionscript?

开发者 https://www.devze.com 2023-02-14 14:15 出处:网络
Whenever I try to create more than one table in actionscript, only the first one gets run. I\'ve been using a string for my query or embedding an external file with the SQL code, and every time AS see

Whenever I try to create more than one table in actionscript, only the first one gets run. I've been using a string for my query or embedding an external file with the SQL code, and every time AS seems to ignore everything after the first ;

Perhaps this is a feature of Actionscript and how it deals with databases and adding each table is a separate query, but is there a way to get around this? I like the idea of having my whole db CREATE statement set in one contained开发者_StackOverflow place.


It seems that multiple statements aren't supported in AIR SQLite commands. You might separate your scripts into statements and execute them sequentially.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号