lib/table.js
function Table(name, schema){
    if(!name || typeof name !== "string"){
        throw new Error("Attempting to instantiate a table without a valid name.");
    }
    if(!schema || !(schema instanceof Schema)){
        throw new Error("Attempting to instantiate a table without a valid schema.");
    }

    this.name = name;
    this.schema = schema;
}
function Table(name, schema){
    if(!name || typeof name !== "string"){
        throw new Error("Attempting to instantiate a table without a valid name.");
    }
    if(!schema || !(schema instanceof Schema)){
        throw new Error("Attempting to instantiate a table without a valid schema.");
    }

    this.name = name;
    this.schema = schema;
}
function Table ( name , schema ) { if ( ! name || typeof name !== "string" ) { throw new Error ( "Attempting to instantiate a table without a valid name." ) ; } if ( ! schema || ! ( schema instanceof Schema ) ) { throw new Error ( "Attempting to instantiate a table without a valid schema." ) ; } this . name = name ; this . schema = schema ; }
Cassanova.Table
@param {String} name       The name of the table. Must match the name of the table in Cassandra
@param {Schema} schema     The table associated with the model.
Cassanova . Table