async create(table) {
        if (table instanceof Table) {
            utils.logdebug(`** Generating Express Route for table ${table.name}`);
            if (!this.database)
                this.database = table.database;
            if (!this.router)
                this.router = Express.Router();
            var _ctrl = this.dynamicControllers.getController(table);
            this.router.get(this.getRoute(table,CONF.METHOD.GET_ALL), _ctrl.getAll );   // GET http://fbroqua.sytes.net/
            this.router.get(this.getRoute(table,CONF.METHOD.GET_ONE), _ctrl.getOne ); // GET http://fbroqua.sytes.net/{table.name}/1
            this.router.post(this.getRoute(table,CONF.METHOD.POST), _ctrl.addOne );      // POST http://fbroqua.sytes.net/{table.name}
            this.router.put(this.getRoute(table,CONF.METHOD.PUT), _ctrl.modifyOne ); // PUT http://fbroqua.sytes.net/{table.name}/1
            this.router.patch(this.getRoute(table,CONF.METHOD.PATCH), _ctrl.modifyOne ); // PATCH http://fbroqua.sytes.net/{table.name}/1
            this.router.delete(this.getRoute(table,CONF.METHOD.DELETE), _ctrl.deleteOne ); // DELETE http://fbroqua.sytes.net/{table.name}/1
            return this;
        } else {
            return null;
        }
    }
/**
     * Async method to generate routes and link to controllers for one table
     * @param {Table} table 
     * @returns {DynamicRoutes}
     */
Async method to generate routes and link to controllers for one table
@param {Table} table
@returns {DynamicRoutes}
Async method to generate routes and link to controllers for one table @param { Table } table @returns { DynamicRoutes }
async create(table) {
        if (table instanceof Table) {
            utils.logdebug(`** Generating Express Route for table ${table.name}`);
            if (!this.database)
                this.database = table.database;
            if (!this.router)
                this.router = Express.Router();
            var _ctrl = this.dynamicControllers.getController(table);
            this.router.get(this.getRoute(table,CONF.METHOD.GET_ALL), _ctrl.getAll );   
            this.router.get(this.getRoute(table,CONF.METHOD.GET_ONE), _ctrl.getOne ); {table.name}/1
            this.router.post(this.getRoute(table,CONF.METHOD.POST), _ctrl.addOne );      
            this.router.put(this.getRoute(table,CONF.METHOD.PUT), _ctrl.modifyOne ); 
            this.router.patch(this.getRoute(table,CONF.METHOD.PATCH), _ctrl.modifyOne ); 
            this.router.delete(this.getRoute(table,CONF.METHOD.DELETE), _ctrl.deleteOne ); 
            return this;
        } else {
            return null;
        }
    }
async create ( table ) { if ( table instanceof Table ) { utils . logdebug ( ` ${ table . name } ` ) ; if ( ! this . database ) this . database = table . database ; if ( ! this . router ) this . router = Express . Router ( ) ; var _ctrl = this . dynamicControllers . getController ( table ) ; this . router . get ( this . getRoute ( table , CONF . METHOD . GET_ALL ) , _ctrl . getAll ) ; this . router . get ( this . getRoute ( table , CONF . METHOD . GET_ONE ) , _ctrl . getOne ) ; this . router . post ( this . getRoute ( table , CONF . METHOD . POST ) , _ctrl . addOne ) ; this . router . put ( this . getRoute ( table , CONF . METHOD . PUT ) , _ctrl . modifyOne ) ; this . router . patch ( this . getRoute ( table , CONF . METHOD . PATCH ) , _ctrl . modifyOne ) ; this . router . delete ( this . getRoute ( table , CONF . METHOD . DELETE ) , _ctrl . deleteOne ) ; return this ; } else { return null ; } }
Async method to generate routes and link to controllers for one table
 @param {Table} table
 @returns {DynamicRoutes}
Async method to generate routes and link to controllers for one table @param { Table } table @returns { DynamicRoutes }
// GET http://fbroqua.sytes.net/ // GET http://fbroqua.sytes.net/{table.name}/1 // POST http://fbroqua.sytes.net/{table.name} // PUT http://fbroqua.sytes.net/{table.name}/1 // PATCH http://fbroqua.sytes.net/{table.name}/1 // DELETE http://fbroqua.sytes.net/{table.name}/1