| Package | com.almirun.common.data |
| Class | public class BatchedQuery |
Typically this will be a set of INSERT statements, perhaps with a CREATE TABLE statement.
| Method | Defined by | ||
|---|---|---|---|
|
BatchedQuery(fileUri:String, connection:SQLConnection)
Easy way to execute a batch of SQL statements from a file
| BatchedQuery | ||
|
execute():void
| BatchedQuery | ||
| BatchedQuery | () | constructor |
public function BatchedQuery(fileUri:String, connection:SQLConnection)Easy way to execute a batch of SQL statements from a file
ParametersfileUri:String — The location of the file containing the SQL
statements
|
|
connection:SQLConnection — The connection to the Sqlite database. Should
be an open connection in SQLMode.UPDATE mode. Will probably work
in asynchronous mode, although I've only tested in synchronous mode.
|
| execute | () | method |
public function execute():void