MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / getVariables

Method getVariables

server/controllers/ProjectController.js:281–291  ·  view source on GitHub ↗
(projectId)

Source from the content-addressed store, hash-verified

279 }
280
281 getVariables(projectId) {
282 return db.Variable.findAll({
283 where: { project_id: projectId },
284 })
285 .then((variables) => {
286 return variables;
287 })
288 .catch((error) => {
289 return Promise.reject(error);
290 });
291 }
292
293 createVariable(projectId, data) {
294 return db.Variable.create({ project_id: projectId, ...data })

Callers 1

ProjectRoute.jsFile · 0.80

Calls 1

findAllMethod · 0.45

Tested by

no test coverage detected