MongoDB Tutorial - 4 - JSON vs BSON

preview_player
Показать описание
We can easily manage our data using JSON, which stands for JavaScript Object Notation.

JSON is a very common language we use for passing around data from the view to the server and back. Let's create a JSON object with 2 key/value pairs of firstname: Bill and lastname: Cruz. And that's all there is to it.

Now, lets open our shell back up and learn a new command. As you saw earlier, we can use the find method to print out all the documents we have added to our collection. This prints out a string of everything we have in there - but it is pretty hard to read. We can chain the Pretty command which will then display our documents in a much easier to read format.
Рекомендации по теме
Комментарии
Автор

Where is the relation between your title and your video ?

oz