Replacing SQL Database with Safe

How would a legacy app be re-written to use Safe instead of a SQL database? Would Safe be used as a NoSQL database and be a driver/backend for MongoDB, etc? This is a continuation of the thread @ https://safenetforum.org/t/replacing-sql-database-with-safe/31840.

I think it would depend on the app. Some apps will depend heavily on features and characteristics, while others might be relatively flexible in their needs.

So I think it’s would be easier for people to respond with a more concrete example. Are you certain you need an SQL layer, or just looking at something which is currently implemented using one, etc?

I’m looking at existing apps with a SQL layer. I need to decide whether to replace their data store logic entirely or just create a facade to their existing SQL engine.

I’m no expert on the data types layer, but if building an app, I would tend to think in more of a key/value mindset, not in SQL.