CH4: M001: Lecture Array Operators- $push wrong info?

Hey here in this video the instructor says with $push if the field of another type then it will become an array type

but the documentation says that it should throw an error which does happen after testing the command
If the field is not an array, the operation will fail.

so is this a mistake or am I missing something here?

2 Likes

Hi @Mohammed_Alhila, welcome to the community,

You’re right. @Yulia_Genkina should add a post note about that

2 Likes

Hi @Mohammed_Alhila, thank you so much for pointing this out, I have escalated this issue to the appropriate channel. Please be rest assured that our team is working on it and we will try our best to fix it as soon as possible.
Meanwhile, if you have any doubts please feel free to reach out to us and we will be more than happy to help you.

Thanks. Regards.
Sourabh Bagrecha,
Curriculum Services Engineer.

2 Likes

Thanks, @SourabhBagrecha for all the work you all do