开发者

Issuing PRAGMA statement in AIR app

开发者 https://www.devze.com 2023-03-14 01:21 出处:网络
When I use the flash.data routines to issue a SQLite \"PRAGMA encoding\" stateme开发者_如何学JAVAnt, I get an error suggesting that this isn\'t supported:

When I use the flash.data routines to issue a SQLite "PRAGMA encoding" stateme开发者_如何学JAVAnt, I get an error suggesting that this isn't supported:

'Error #3115: SQL Error.', details:'PRAGMA is not allowed in SQL.', operation:'execute', detailID:'2005

Is there a workaround?


In a word no. See for supported and unsupported features.

http://help.adobe.com/en_US/as3/dev/WSd47bd22bdd97276f1365b8c112629d7c47c-8000.html#WSd47bd22bdd97276f-5741a41a1262b2de46b-8000.

However on that page however you will see... System table access is not available The system tables including sqlite_master and other tables with the "sqlite_" prefix are not available in SQL statements. The runtime includes a schema API that provides an object-oriented way to access schema data. For more information see the SQLConnection.loadSchema() method.

For a more detailed help in using loadSchema have a look at,

http://gmarius.posterous.com/a-test-33

and consider using,

http://sqlitebrowser.sourceforge.net/ In fact

Issuing PRAGMA statement in AIR app

0

精彩评论

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