什么是 sqlite 的好的 OO C++ 包装器

2021-12-08 00:00:00 database sqlite c++

我想为 sqlite 找到一个好的面向对象的 C++(而不是 C)包装器.人们推荐什么?如果您有几个建议,请将它们放在单独的回复中以供投票之用.另外,请说明您是否对所建议的包装器有任何经验以及如何使用它.

I'd like to find a good object oriented C++ (as opposed to C) wrapper for sqlite. What do people recommend? If you have several suggestions please put them in separate replies for voting purposes. Also, please indicate whether you have any experience of the wrapper you are suggesting and how you found it to use.

推荐答案

这确实很吸引人的反对票,但这里...

This is really inviting down-votes, but here goes...

我直接从 C++ 使用 sqlite,并没有看到添加 C++ 抽象层的任何值.它非常好(而且高效).

I use sqlite directly from C++, and don't see any value with an added C++ abstraction layer. It's quite good (and efficient) as is.

相关文章