| Platform | Since |
|---|---|
| Android | 0.1 |
| iPhone | 0.1 |
| iPad | 0.1 |
| Mobile Web | 1.8 |
The top-level Database module, used for creating and accessing the
in-application SQLite database.
| Name | Summary |
|---|---|
| Titanium.Database.DB |
The |
| Titanium.Database.ResultSet |
The ResultSet instance returned by |
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| install |
Installs an SQLite database to device's internal storage. (Android, iPhone, iPad only.) |
| open |
Opens an SQLite database. |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| Name | Type | Summary |
|---|---|---|
| FIELD_TYPE_DOUBLE | Number |
Constant for requesting a column's value returned in double form. read-only |
| FIELD_TYPE_FLOAT | Number |
Constant for requesting a column's value returned in float form. read-only |
| FIELD_TYPE_INT | Number |
Constant for requesting a column's value returned in integer form. read-only |
| FIELD_TYPE_STRING | Number |
Constant for requesting a column's value returned in string form. read-only |