Skip to content
pegli edited this page May 7, 2012 · 22 revisions

To learn more about TouchDB, the underlying implementation of this module, see the TouchDB-iOS Wiki.

Usage

Here's how to load up the module and get a database object:

var TiTouchDB = require('com.obscure.TiTouchDB');
var db = TiTouchDB.databaseNamed('books');
db.ensureCreated();

See the API documentation and TouchBooks sample for more information.

Clone this wiki locally