bruparel (70) [Avatar] Offline
#1
On page 151, the top paragraph states "The _id field will be added by the database and is therefore not part of the validFields array."

Yet the listing below show:

var validFields = ['sender', 'recipient', 'timestamp', 'message', '_id'];

Which one is right?
stephan.hochhaus (92) [Avatar] Offline
#2
I removed _id from the validFields array to avoid confusion.