Where you have, say, mysql 8 performing queries this is its THING. I've worked with mysql for a decade and it keeps getting more & more capable & faster.
using the db mostly for storage and retrieval of data and leaving the business logic to the server handler
to me is underestimating the dedicated functions of mysql to process even the most complicated queries involving multiple joins, etc. in milliseconds.
MySQL is very powerful. It can handle much of the functionality of the most expensive and powerful database packages
MySQL performs quickly—even with large data sets
As you know, with node.js installation the included NPM enables use of the latest MySQL clients -- such as Node MySQL 2
where we can leverage the best aspects of node.js with the query power of the MySQL database installation.
In other words, depending on the data schema & needed queries, we might find querying a mysql database advantageous to just relying on NoSQL databases.
NoSQL scales horizontally across multiple servers better but it is generally does not handle complex queries as well as MySQL which easily JOINs tables which NoSQL is not natively equipped to do.
Also to consider is that MySQL offers in addition to the default tables, indexes & stored procedures now such goodies as updatable views, triggers, cursors, query caching, partitioned tables and clustering.
It might be that since Node can also query MySQL tables, including joins of tables and filtering of queries with latest passed variables that leaving MySQL to do "the heavy lifting" can be a best solution for applications that will not have to scale horizontally across multiple servers.
And, of course, with REDIS caching reading & writing queries to ease the load off MySQL or NoSQL databases and applications we can thank Wappler for staying close to the cutting edge of newest technologies.