Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
2.04k
stars
241
forks
source link
setting attributes and calling save the same as setting through updateAttributes? #357
Closed
0xgeert closed 10 years ago
Just for my understanding is the following functionally the same, with respect to called triggers, validation, etc.?
user.email = "test@example.com"
user.save()
user.updateAttributes({email: "test@example.com"})
;