MCPcopy Create free account
hub / github.com/CloudBoost/cloudboost / getColumn

Method getColumn

sdk/src/CloudTable.js:51–61  ·  view source on GitHub ↗
(columnName)

Source from the content-addressed store, hash-verified

49 };
50
51 getColumn(columnName){
52 if(Object.prototype.toString.call(columnName) !== '[object String]') {
53 throw "Should enter a columnName";
54 }
55 var columns = this.document.columns;
56 for(var i=0;i<columns.length;i++){
57 if(columns[i].name === columnName)
58 return columns[i];
59 }
60 throw "Column Does Not Exists";
61 };
62
63 updateColumn(column){
64 if (Object.prototype.toString.call(column) === '[object Object]') {

Callers 2

test.jsFile · 0.80
cloudtable.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected