Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
parse: function() {
return array.parse(source, transform);
}
};
var parseIntervalArray = function (value) {
if (!value) { return null }
return array.parse(value, parseInterval)
}
policyname: name,
permissive,
cmd: command,
qual: qualifier,
with_check: check,
roles,
schemaname: schemaName,
tablename: tableName,
} = policyData;
const policy = new DbPolicy({
name,
permissive: permissive === 'PERMISSIVE',
command,
qualifier,
check,
roles: pgArray.parse(roles),
schemaName,
tableName,
db: this.db,
});
this.policies.add(policy);
});
});
parse: function() {
return array.parse(source, transform);
}
};
var parsePointArray = function (value) {
if (!value) { return null }
return array.parse(value, parsePoint)
}
function parseBigIntegerArray (value) {
if (!value) return null
return array.parse(value, function (entry) {
return parseBigInteger(entry).trim()
})
}
var parseByteAArray = function (value) {
if (!value) { return null }
return array.parse(value, parseByteA)
}
var parseDateArray = function (value) {
if (!value) { return null }
return array.parse(value, parseDate)
}
function parseBigIntegerArray (value) {
if (!value) return null
return array.parse(value, allowNull(function (entry) {
return parseBigInteger(entry).trim()
}))
}
function parseBoolArray (value) {
if (!value) return null
return array.parse(value, parseBool)
}