NextDB.net

Class nextdb.Connection

Object
   |
   +--nextdb.Connection

class nextdb.Connection


Connection is the class that establishes the connection to the database that Query/Insert/Update/Delete will use to execute.

This is how you construct a Connection:


var conn = new nextdb.Connection("yourAccountName","yourDatabaseName");


Defined in api.docs.js


Constructor Summary
nextdb.Connection(<String> account,<String> databaseName)
           
 
Method Summary
 void createRelationship(<String> relationshipName, <String> rowId1, <String> rowId2, <Function> callback)
          
The callBack signature is callack(error) error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded
 void describeQuery(<String> queryName,<Function> callback)
          
 void describeTable(<String> tableName,<Function> callback)
          
 void executeDelete(<nextdb.Delete> del,<Function> callback)
          
The callBack signature is callack(error) error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded.
 void executeInsert(<nextdb.Insert> insert,<Function> callback)
          
The callBack signature is callack(rowId,error) the rowId is the encrypted id for the new row inserted, error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded
 void executeQuery(<nextdb.Query> query,<Function> callback)
          
The callBack signature is callack(object,error) the object is the dynamically generated data structure from the query, error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded
 void executeUpdate(<nextdb.Update> update,<Function> callback)
          
The callBack signature is callack(error) the error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded
 void removeRelationship(<String> relationshipName, <String> rowId1, <String> rowId2, <Function> callback)
          
The callBack signature is callack(error) error is either an instance of nextdb.Error in the case of an error or undefined if everything succeeded.
 void uploadProgress(<string> uploadID,<Function> callback)
          

Constructor Detail

nextdb.Connection

nextdb.Connection(<String> account,<String> databaseName)

Method Detail

createRelationship

void createRelationship(<String> relationshipName, <String> rowId1, <String> rowId2, <Function> callback)

describeQuery

void describeQuery(<String> queryName,<Function> callback)

describeTable

void describeTable(<String> tableName,<Function> callback)

executeDelete

void executeDelete(<nextdb.Delete> del,<Function> callback)

executeInsert

void executeInsert(<nextdb.Insert> insert,<Function> callback)

executeQuery

void executeQuery(<nextdb.Query> query,<Function> callback)

executeUpdate

void executeUpdate(<nextdb.Update> update,<Function> callback)

removeRelationship

void removeRelationship(<String> relationshipName, <String> rowId1, <String> rowId2, <Function> callback)

uploadProgress

void uploadProgress(<string> uploadID,<Function> callback)

NextDB.net

Documentation generated by JSDoc on Fri Apr 1 10:54:23 2011