Skip to content

kingnare/AIRSQLite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AIRSQLite

AS for SQLite

First:

            var file:File = new File(File.applicationStorageDirectory.nativePath+"/db/demo.sqlite");

            if(!file.exists)
            {
                var dbFile:File = new File(File.applicationDirectory.nativePath+"/db/torrent.sqlite");
                if(dbFile.exists)
                {
                    dbFile.copyTo(file);
                }
                else
                {
                    Alert.show("Data file missing", "Message");
                }
            }
            
            
            if(!AIRSQLite.setLocalSQLServer(file.nativePath))
            {
                Alert.show("Can not link to database", "Message");
            }

About

AS for SQLite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published