controllers/api.js
function updateIntoDB() {
                    //Yaaay, alle Tests bestanden gogo, insert!
                    lastQry = connection.query('UPDATE ?? SET ? WHERE ?? = ?', [req.params.table , updateJson, updateSelector.field, updateSelector.value] , function (err) {
                        if (err) return sendError(res,err.code);
                        sendSuccessAnswer(req.params.table , res, req.params.id, updateSelector.field);

                    });
                }
function updateIntoDB() {
                    //Yaaay, alle Tests bestanden gogo, insert!
                    lastQry = connection.query('UPDATE ?? SET ? WHERE ?? = ?', [req.params.table , updateJson, updateSelector.field, updateSelector.value] , function (err) {
                        if (err) return sendError(res,err.code);
                        sendSuccessAnswer(req.params.table , res, req.params.id, updateSelector.field);

                    });
                }
function updateIntoDB ( ) { //Yaaay, alle Tests bestanden gogo, insert! lastQry = connection . query ( 'UPDATE ?? SET ? WHERE ?? = ?' , [ req . params . table , updateJson , updateSelector . field , updateSelector . value ] , function ( err ) { if ( err ) return sendError ( res , err . code ) ; sendSuccessAnswer ( req . params . table , res , req . params . id , updateSelector . field ) ; } ) ; }
start the async "for" loop
start the async for loop