开发者

What is the most "standard" worthy database library for c++? [closed]

开发者 https://www.devze.com 2023-02-10 10:15 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

Improve this question

In my personal c++ studies, I've focused on projects that 1) Keep me engaged and 2) Help teach a stan开发者_开发技巧dard principle. I want to do a project with database access. Which libraries do you think best stick with the c++ programming paradigm?

I understand that this question is open to interpretation, so please elaborate on your choice.


You might consider using the Database Template Library.

It provides a clean, iterator-based interface to access collections of records, so you can use it with all of the Standard Library algorithms. It also does a pretty good job of limiting the boilerplate you need to write to map database entities to user-defined types in your project.


I'm a fan of OTL (http://otl.sourceforge.net/) which also provides a clean, STL-like interface. It's worked for my needs and is simple to use.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号