Answer the question
In order to leave comments, you need to log in
How to set field of type ARRAY(array) in sequelize, express model?
Hello everyone, I have a controller model. I want one of the fields of this model to be an array of numbers, for example [1,2,3]
. I also use . To DataTypes
do this, I indicated that this field should be
DataTypes.ARRAY(DataTypes.INTEGER)
. At the same time, I get an error Can not map()
. What am I doing wrong? Googling the issue didn't help :(
Answer the question
In order to leave comments, you need to log in
The area of a triangle is equal to the product of the lengths of the sides - this is a new word in geometry. Heron would be interested.
1. When creating a triangle, it would be nice to immediately indicate its sides.
2. Checking the correctness of the triangle ( 1 - 1 - 100 )
3. Why internal?
4. Serialization, formatting ..
5. The calculation of the area is some kind of fundamentally new
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question