Durchsuchen nach
Schlagwort: Collection

MongoDB – simple queries in the Mongoshell

MongoDB – simple queries in the Mongoshell

What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use.  What is Mongoshell? The MongoShell is an interactive command window for the MongoDB database….

Weiterlesen Weiterlesen

3 best methods to find out the installed version of MongoDB on Linux

3 best methods to find out the installed version of MongoDB on Linux

What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use. MongoDB is open-source and has a wide range of deployment options, including cloud-based services like…

Weiterlesen Weiterlesen

MongoDB – einfache Abfragen in der Mongoshell

MongoDB – einfache Abfragen in der Mongoshell

Was ist MongoDB? MongoDB ist wie eine sehr große, flexible Schubladenkommode für deine Daten. Stell dir vor, jede Schublade ist eine Art Ordner, den wir „Collection“ nennen. In diese Ordner kannst du Informationen ablegen, die zusammengehören, zum Beispiel alle Kundendaten oder alle Produktinformationen. Das Besondere ist, dass du in diese „Ordner“ nicht nur Zettel mit immer gleichen Feldern legen musst. Jeder „Zettel“ (wir nennen ihn „Dokument“) kann ganz anders aussehen und unterschiedliche Informationen enthalten. Das macht MongoDB sehr flexibel, wenn…

Weiterlesen Weiterlesen

MongoDB Export von einer Datenbank ins CSV-Format

MongoDB Export von einer Datenbank ins CSV-Format

Was ist MongoDB? MongoDB ist wie eine sehr große, flexible Schubladenkommode für deine Daten. Stell dir vor, jede Schublade ist eine Art Ordner, den wir „Collection“ nennen. In diese Ordner kannst du Informationen ablegen, die zusammengehören, zum Beispiel alle Kundendaten oder alle Produktinformationen. Das Besondere ist, dass du in diese „Ordner“ nicht nur Zettel mit immer gleichen Feldern legen musst. Jeder „Zettel“ (wir nennen ihn „Dokument“) kann ganz anders aussehen und unterschiedliche Informationen enthalten. Das macht MongoDB sehr flexibel, wenn…

Weiterlesen Weiterlesen

MongoDB den Feldtypen herausfinden

MongoDB den Feldtypen herausfinden

Viele kennen das. Man hat eine Collection erstellt, bearbeitet, die Tag für Tag und dann macht man einen Fehler und das System bemerkt diesen und dann steht man ratlos davor und weiß nicht mehr genau was für eine Definition man für dieses Feld gegeben hat. Wenn man MongoDB Compass installiert hat, kann man dort nachschauen, aber wenn man nicht noch etwas Neues starten möchte, bleibt einem nur die Shell oder man hat bei Linux keine grafische Oberfläche installiert, dann möchte…

Weiterlesen Weiterlesen