logo

Crowdly

Browser

Додати до Chrome

The code below was extracted from the class. Knowing that you have the follo...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

The code below was extracted

from the class.

Knowing that you have the

following project hierarchy.

Analyze the code below and

choose only the correct answers.

There are 4 correct answers.

Each correct answer adds 25% to the question's grade.

Each wrong answer chosen reduces the question's grade by 25%.

Project Hierarchy

File: server\app\models\product.model.js

  1. module.exports = (connex, Sequelize) => {
  2.     const Product = connex.define('product',{
  3.         name:{
  4.             type: Sequelize.STRING
  5.         },
  6.         photo:{
  7.             type: Sequelize.STRING
  8.         },
  9.         price:{
  10.             type: Sequelize.REAL
  11.         },
  12.         description:{
  13.             type: Sequelize.TEXT
  14.         },
  15.         type:{
  16.             type: Sequelize.STRING
  17.         }
  18.     })
  19.     return Product
  20. }

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.concordia.ca?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome