storage icon indicating copy to clipboard operation
storage copied to clipboard

clarification question

Open ORESoftware opened this issue 9 years ago • 1 comments

"If you want to add additional keys later, use the Schema#add method."

did you mean, add additional keys at runtime?

ORESoftware avatar Mar 17 '15 07:03 ORESoftware

This method is identical in behavior to the method http://mongoosejs.com/docs/api.html#schema_Schema-add.

If we talk about the runtime, the schema change may not affect previously created documents. If you will check it out, leave feedback here about the results.

After some time I will check it and write tests for it.

archangel-irk avatar Mar 17 '15 08:03 archangel-irk