Skip to content
Snippets Groups Projects
Commit ad02e962 authored by Goik Martin's avatar Goik Martin
Browse files

Aaarg! Accidential file removal!!

parent 2cb8b3be
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<chapter version="5.0" xml:id="sda1ChapMongoDB"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:m="http://www.w3.org/1998/Math/MathML"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:db="http://docbook.org/ns/docbook">
<title><productname>MongoDB</productname></title>
<section xml:id="sd1SectMongodbPrerequisite">
<title>Prerequisites</title>
<para><xref linkend="glo_Ubuntu"/> installation instructions are on offer
from <uri
xlink:href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#run-mongodb-community-edition">https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu</uri>.</para>
<section xml:id="sda1SectMongoDBPopulate">
<title><xref linkend="glo_Mongo_Shell"/> CRUD operations</title>
<qandaset defaultlabel="qanda" xml:id="sda1QandaMongoDBPopulate">
<qandadiv>
<qandaentry>
<question>
<para>This exercise aims at getting acquainted with basic <xref
linkend="glo_MongoDB"/> create, read, update and delete tasks
based on using the command line interface.</para>
<orderedlist>
<listitem>
<para>Follow <uri
xlink:href="https://docs.mongodb.com/getting-started/shell/introduction">https://docs.mongodb.com/getting-started/shell/introduction</uri>
(skipping the already completed installation section)
populating your database with multiple lecture entries
like:</para>
<programlisting language="json">{
"lecture" : {
"title" : "Software development 2",
"prerequisites" : [113105, 113102]
},
"studyCourse" : "MIB",
"programme" : "Bachelor",
"recommendedSemesters" : {
"semester" : [4, 6, 7],
" comment" : "Advanced topics"
},
"lecture_id" : 113213
}</programlisting>
<para>Modify attribute values to create at least three
different lectures.</para>
</listitem>
<listitem>
<para/>
</listitem>
</orderedlist>
</question>
</qandaentry>
</qandadiv>
</qandaset>
</section>
</section>
</chapter>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment