Titanium.Database

submodule of Titanium
           
0.1

The top level Database module. The Database module is used for creating and accessing the in-application Database.

Objects

Name Description
Titanium.Database.DB

The Database instance returned by Titanium.Database.open or Titanium.Database.install.

Titanium.Database.ResultSet

The ResultSet instance returned by invoking a database SQL execute.

Methods

Name Description
addEventListener add an event listener for the instance to receive view triggered events
fireEvent fire a synthesized event to the views listener
install

install a database from the application Resources folder (at build time) and return a reference to the opened database. it is safe to call this method multiple times since this method will only install once if it doesn't already exist on the device.

open

open a database. if it doesn't yet exist, create it.

removeEventListener remove a previously added event listener

Properties

This module has no properties

Events

This module has no events