相当于cppsqlite3u中的sqlite3_exec [英] Equivalent to sqlite3_exec in cppsqlite3u
本文介绍了相当于cppsqlite3u中的sqlite3_exec的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
How can CppSQlite3U be used to execute queries in a similar way to sqlite3_exec(). The purpose of my question is to use CppSQLite3U in one hand but to take advantage of the callback mechanism sqlite3.exec() has
我尝试过:
sqlite3_exec是sqlite3的一个函数。
sqlite3_exec()接口是一个方便的包装器
[sqlite3_prepare_v2()],[sqlite3_step( )]和[sqlite3_finalize()],
允许应用程序运行多个SQL语句
,而不必使用大量的C代码。
CppSQLite3U是围绕SQLite3嵌入式数据库库的C ++ unicode包装器,基于此CodeProject文章
[ ^ ]
推荐答案
你应该考虑使用 SQLiteWrappers v1.04 [ ^ ]由PJ Naughter
作为一个使用两者的人,我强烈推荐SQLiteWrappers
它支持ANSI和Unicode,STL迭代器,回调等..
在CP上应该有一篇关于它的文章但我找不到它
You should consider using SQLiteWrappers v1.04[^] by PJ Naughter
As a person who used both ,i would strongly recommend SQLiteWrappers
It supports ANSI and Unicode , STL iterators ,callback etc..
There should be an article about it on CP but i could not find it
这篇关于相当于cppsqlite3u中的sqlite3_exec的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文