Durchsuchen nach
Kategorie: Informatik

Alles was mit der Informatik zu tun hat

How to add a document to a certain MongoDB document

How to add a document to a certain MongoDB document

When you are searching on the internet how you can upload a document into a MongoDB database the most instruction uses Node.js. But you can also use Python for this case. The problem was in my case that I have saved a document for the tax and revenue office on an external drive, that I have scanned before. In Germany, you always get a normal letter from the tax and revenue office, yes old Germany :-(. This letter you file…

Weiterlesen Weiterlesen

MongoDB Overview about your field names

MongoDB Overview about your field names

If you have a large collection with a lot of fields inside, then there is command where you can check all your field names. Why I should check it? Human aren’t perfect, human makes errors. Yes, your boss does not want to hear this, but in fact every one makes errors. In my case I get this output of my Spanish database (database about Spanish cities) ‚\t‘,‚Abogado‘,‚Academia de inglés‘,‚Acuario‘,‚Aeropuerto‘,‚Agencia de alquiler de equipos‘,‚Agencia de excursiones en canao y kayak‘,‚Agencia de…

Weiterlesen Weiterlesen

How to update MongoDB Compass? (In my case: AlmaLinux)

How to update MongoDB Compass? (In my case: AlmaLinux)

What is MongoDB Compass GUI? MongoDB Compass is a free graphical tool for querying and managing your database. Under the hood, it is built with Electron—a framework that uses Chromium and Node.js. What is Electron? Electron allows developers to build desktop applications using web technologies like JavaScript, HTML, and CSS. The biggest advantage is that it is cross-platform, meaning it runs seamlessly on Windows, macOS, and Linux. Is MongoDB Compass in the official Linux repositories? No. Unlike the MongoDB database…

Weiterlesen Weiterlesen

MongoDB Export a collection (general)

MongoDB Export a collection (general)

MongoDB is a NoSQL database, that stores information in documents instead of tables, and it can store a lot of information. It looks like that: test> db.test.find()[ { _id: ObjectId(’69edadcfb6b4cff75744ba89′), name: ‚Morgentest‘ } ] You see MongoDB follows the JSON standard for documents. Ok, MongoDB stores this for human-readable information, but there is a special format that is called BSON that MongoDB uses, but this is not the subject of this blog entry. If you have a full database (or…

Weiterlesen Weiterlesen

Datenbankerfassung Spanien

Datenbankerfassung Spanien

Ich hatte ja vor einigen Tagen geschrieben, dass ich eine Datenbank erstelle. Daten zu erfassen, klingt für sehr viele nicht gerade attraktiv. Einen tollen Videoblog zu erstellen, ständig zu reisen sind für viele Leute viel attraktiver, aber sind sie auch persönlich nachhaltig? Ich möchte niemanden kritisieren, aber die Reise ist getan, man ist zurückgekehrt. Dann hat man zwar sehr viele Erinnerungen und Erfahrungen gesammelt, sich durch die Wildnis des fremden Landes durchgeschlagen, viele Fotos gemacht und gewiss darauf kann man…

Weiterlesen Weiterlesen