MCPcopy Create free account
hub / github.com/microsoft/SandDance / getColumnWithName

Function getColumnWithName

docs/app/js/sanddance-app.js:12513–12517  ·  view source on GitHub ↗
(columnName, columns)

Source from the content-addressed store, hash-verified

12511var _language = require("../language");
12512const maxClauses = 5;
12513function getColumnWithName(columnName, columns) {
12514 for(var i = 0; i < columns.length; i++){
12515 if (columns[i].name === columnName) return columns[i];
12516 }
12517}
12518function validateExpression(ex) {
12519 if (ex.operator === "isnullorEmpty") {
12520 ex.errorMessage = null;

Callers 2

updateExpressionMethod · 0.70
renderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected