- Load Events

- Edit Events
- When a field is updated: undate also memory list record

- Duplicate Event
This commit is contained in:
Paolo Arena
2019-10-20 22:45:09 +02:00
parent 93eae51ab8
commit 1a1348c563
5 changed files with 83 additions and 60 deletions

View File

@@ -58,6 +58,16 @@ OperatorSchema.statics.executeQueryTable = function (idapp, params) {
return tools.executeQueryTable(this, idapp, params);
};
OperatorSchema.statics.findAllIdApp = function (idapp) {
const Operator = this;
const myfind = { idapp };
return Operator.find(myfind, (err, arrrec) => {
return arrrec
});
};
const Operator = mongoose.model('Operator', OperatorSchema);
module.exports = { Operator };