Packagecom.hippohx
Classpublic class SQLite
InheritanceSQLite Inheritance HaxeBackendListener Inheritance flash.events.EventDispatcher

The SQLite class allows you open a connection to a SQLite database. For more info see the complete SQLite tutorial in the Wiki.



Protected Properties
 PropertyDefined by
 InheritedHAXE_BACKEND : String = ""
HAXE_BACKEND defines the ID that a Neko backend needs to use to call methods on this class (or the class extending this one).
HaxeBackendListener
Public Methods
 MethodDefined by
  
Do NOT call this constructor, please use getInstance method instead.
SQLite
 Inherited
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
Constructor detail
SQLite()constructor
public function SQLite()

Do NOT call this constructor, please use getInstance method instead.

See also

Method detail
getInstance()method
public static function getInstance():SQLite

Use 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");

Returns
SQLite
open()method 
public function open(file:String):Connection

Use this method to create or open a SQLite database.

Neko call is neko.db.Sqlite.open().

Parameters
file:String — Path to the database file. If it doesn't exist it will be automatically created.

Returns
Connection — A Connection object to interact with the database.

See also