Global

Members

ConnectionOptions :object

documentation only
Type:
  • object
Properties:
Name Type Description
keyspace object options
contactPoints array a list of host IPs
protocolOptions object object for port settings
Source:

Methods

getArgCount(arguments)

Determines the tailing argument (callback)
Parameters:
Name Type Description
arguments object an arguments object
Source:
Example
//args = arguments[1, 2, callback, null]
getArgCount(args); //3
//args = arguments[1, 2, null, callback, null]
getArgCount(args); //4

getFilteredArgs(arguments, filter)

Filters args by default to Boolean
Parameters:
Name Type Description
arguments object an arguments object
filter mixed an item passed to Array.prototype.filter
Source:
Example
//args = arguments[1, 2, null, callback]
getFilteredArgs(args); //[1,2,callback]