Posts by Guilherme Monteiro de Oliveira • 21 points
2 posts
-
1
votes1
answer173
viewsQ: Sequelize Associantions
I have 2 models: user Features: const DataTypes = require('sequelize'); const database = require('../config/dbconnection'); const user= require('./user'); const user_features =…
-
1
votes0
answers128
viewsQ: Typeerror: Cannot read Property 'id' of Undefined
Routes: const express = require('express'); const router = express.Router(); const controller = require('../controllers/imoveis-controller'); router.get('/:id', controller.getById); router.get('/',…