Posts by William Cardoso • 17 points
3 posts
-
0
votes0
answers13
viewsQ: Why does the sequelize id auto-increment even without adding the data?
Hello, I have a table that has[id, user, password, level] following these settings: id: { type:sequelize.INTEGER, primaryKey: true, autoIncrement: true, allowNull: false }, user: { type:…
-
0
votes0
answers17
viewsQ: Service of synchronizing images
I’m working on a project that synchronizes a folder, which contains several images (an absurd amount),. How it works ? The script sends the image data, its name and the relative path to the…
-
-2
votes1
answer37
viewsQ: How do I return the property of a class to an object of a function?
class Servidor{ constructor(ip, port){ this.ip = ip this.port = port this.admin = true } getPropert(){ return { // o erro está aqui this.port, this.admin, this.ip } } } My goal was to do the job…