ORM does the reverse, it tries to map objects into relational data, the problem is that those are two incompatible way of storing data, you can do this for some objects but it doesn't apply for all cases.
Since relational algebra was proposed by Cobb, it took over all databases because it was proven that it's most efficient way to store data we know.
ORM might be useful for some cases, but it will generally limit you with what you can do with data.
IMO I think what's really missing is to have have another query language that is integrated with your programming language (so you don't have to write it as a string, and can benefit from language features such as auto completion, type checking etc).
I kind of wish QUEL[1] would win instead of SQL, since that language seems to be easier to be integrated.
There are also attempts such as LINQ[2] which appears to do good (I did not use it myself, since I don't program in .NET), but it looks great, I wish it became a standard and got integrated in other languages.
ORM does the reverse, it tries to map objects into relational data, the problem is that those are two incompatible way of storing data, you can do this for some objects but it doesn't apply for all cases.
Since relational algebra was proposed by Cobb, it took over all databases because it was proven that it's most efficient way to store data we know.
ORM might be useful for some cases, but it will generally limit you with what you can do with data.
IMO I think what's really missing is to have have another query language that is integrated with your programming language (so you don't have to write it as a string, and can benefit from language features such as auto completion, type checking etc).
I kind of wish QUEL[1] would win instead of SQL, since that language seems to be easier to be integrated.
There are also attempts such as LINQ[2] which appears to do good (I did not use it myself, since I don't program in .NET), but it looks great, I wish it became a standard and got integrated in other languages.
[1] https://en.wikipedia.org/wiki/QUEL_query_languages
[2] https://en.wikipedia.org/wiki/Language_Integrated_Query