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

New MongoDB version on my computer

New MongoDB version on my computer

This morning I got updates on my AlmaLinux 9.8. I get the updates with an Update-Script where it checks everything on the computer. The Update script I start this script via Bash menu that I have written: The shut down script You see there are other scripts that I sometimes use of regularly (in order to shut down the computer). The shut-down script And we are the Updates of MongoDB. MongoDB Updates (with others) You see, that MongoDB comes from…

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. Electron allows developers to build desktop applications using web technologies like JavaScript,…

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

1.000 Einträge in meiner Datenbank über Spanien

1.000 Einträge in meiner Datenbank über Spanien

In meiner Datenbank, über die ich in den letzten Tagen berichtet hatte, habe ich heute am Montag den 1.000 Eintrag geschafft. Damit ist Spanien recht gut dokumentiert. Natürlich geht es immer weiter. Ich habe noch sehr viele Dokumente aus der Anfangszeit, wo ich die Einträge als reine Strings gespeichert habe. Diese werde ich nun so nach und nach in Arrays umwandeln, damit vielen Scripte, in Python auch sehr gut funktionieren und eine hohe Trefferquote bringen. In manchen Regionen ist die…

Weiterlesen Weiterlesen