![]() ![]() ![]() They are built for this kind of data operation. However, joining data is a job for a database. A polyglot application This approach works. This needs to be done in a programming language like Java, TypeScript, C#, Python, or any other imperative programming language that is able to connect to both databases. A common approach to this is to query both databases independently (using different data sources) and process the data to match by, for example, ISBN (the id of a book) and put the combined information in a new object. We need to mix data created by a NoSQL application with data created by a SQL application. Notice that the MongoDB database doesn't contain the title of the books, and the relational database doesn't contain the ratings. You are asked to create a report that shows the title and rating information for each book. This application connects to a MariaDB database (SQL, relational) to manage a catalog of books (title, year of publishing, number of pages). ![]() Let's also say that you have another application developed in Java (or Python, C#, TypeScript… anything). This application connects to a MongoDB database (NoSQL) to store ratings on books (number of stars given and a comment). Let's say you have an application developed in Node.js (or any other platform).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |