async function returnAllUser() {
    console.info("Retrieving all users");
    return await User.findAll(
        {
        include: {all: true, nested: true},
    }
    ).then((users) => {
        return users;
    }).catch((err) => {
        console.log(err);
        return err;
    });
}
/*
* This method communicates with the database and will
* retrieve all the users in the database.
* @author Ruben Fricke
*/
This method communicates with the database and will
retrieve all the users in the database.
This method communicates with the database and will retrieve all the users in the database .
async function returnAllUser() {
    console.info("Retrieving all users");
    return await User.findAll(
        {
        include: {all: true, nested: true},
    }
    ).then((users) => {
        return users;
    }).catch((err) => {
        console.log(err);
        return err;
    });
}
async function returnAllUser ( ) { console . info ( "Retrieving all users" ) ; return await User . findAll ( { include : { all : true , nested : true } , } ) . then ( ( users ) => { return users ; } ) . catch ( ( err ) => { console . log ( err ) ; return err ; } ) ; }
This method communicates with the database and will
retrieve all the users in the database.
This method communicates with the database and will retrieve all the users in the database .