Question

I have a cross platform project where the client gets the code, but doesn't want to resolve any dependencies. The requirements are best solved with a relational database, so it seems I need to copy the source of an embeddable relational database into my program and compile the library directly into the executable or as part of the project.

Is there a relational embeddable database which has a permissive license so that I can copy the source directly into the project? Which one has the smallest code base? Ideally I'm thinking of one C source file and one header that I can copy into the program and start using immediately.

Was it helpful?

Solution

SQLite

They have “amalgamation” source distribution which is one C source file, which can be included into a project and used right away.

OTHER TIPS

SQLite comes to mind.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top