| Package | com.hippohx |
| Class | public class SQLite |
| Inheritance | SQLite HaxeBackendListener flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
SQLite()
Do NOT call this constructor, please use getInstance method instead.
| SQLite | ||
![]() |
getHaxeBackendId():String
Returns HAXE_BACKEND API identifier.
| HaxeBackendListener | |
|
[static]
Use this method to retrieve an instance of the class, do NOT call the constructor directly.
| SQLite | ||
|
open(file:String):Connection
Use this method to create or open a SQLite database.
| SQLite | ||
| SQLite | () | constructor |
public function SQLite()Do NOT call this constructor, please use getInstance method instead.
See also
| getInstance | () | method |
public static function getInstance():SQLiteUse this method to retrieve an instance of the class, do NOT call the constructor directly. Note that you don't need to store the instance to access its methods, you can simply do this:
SQLite.getInstance().open("mybase.db");
SQLite |
| open | () | method |
public function open(file:String):ConnectionUse this method to create or open a SQLite database.
Neko call is neko.db.Sqlite.open().
Parametersfile:String — Path to the database file. If it doesn't exist it will be automatically created.
|
Connection —
A Connection object to interact with the database.
|
See also