ORMs for applications written in C

G

gvk

Hi.
I am posting this before actually Googling (shall do that in a while).

Do we have ORMs (object relational mappers) for applications written in C/C++ ?

I have a python web development background and there we have mostly used SQLAlchemy / Django.

What we want to achieve is simply summarized as :

Provide a Database abstraction so that one single coded C application can interface with a variety of production level databases (mostly MySQL / Oracle / PostgreSQL)

Thank you in advance :)
 
M

Malcolm McLean

What we want to achieve is simply summarized as :

Provide a Database abstraction so that one single coded C application can interface with a variety of production level databases (mostly MySQL / Oracle / PostgreSQL)
That's conceptually quite easy.

SQL is already an interface to databases. However there are several
varieties around.

So you need to define a thin layer over the top of it. Mostly the thin
layer will just pass identical parameters to an SQL function, but you
might need to take some functionality out. To target a different
dialect of SQL, or an non-SQL database interface, rewrite the layer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top