NextDB.net

Class net.nextdb.Connection

Object
   |
   +--net.nextdb.Connection

class net.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 net.nextdb.Connection("yourAccountName","yourDatabaseName");


Defined in api.docs.js


Constructor Summary
net.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 net.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(<net.nextdb.Delete> del,<Function> callback)
          
The callBack signature is callack(error) error is either an instance of net.nextdb.Error in the case of an error or undefined if everything succeeded.
 void executeInsert(<net.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 net.nextdb.Error in the case of an error or undefined if everything succeeded
 void executeQuery(<net.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 net.nextdb.Error in the case of an error or undefined if everything succeeded
 void executeUpdate(<net.nextdb.Update> update,<Function> callback)
          
The callBack signature is callack(error) the error is either an instance of net.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 net.nextdb.Error in the case of an error or undefined if everything succeeded.
 void uploadProgress(<string> uploadID,<Function> callback)
          

Constructor Detail

net.nextdb.Connection

net.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(<net.nextdb.Delete> del,<Function> callback)

executeInsert

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

executeQuery

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

executeUpdate

void executeUpdate(<net.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 Mon Mar 29 20:15:50 2010