sqlite3数据库操作类

上传者: programmer_dong | 上传时间: 2022-05-16 20:02:14 | 文件大小: 2.16MB | 文件类型: GZ
本工程自带许多测试实例; 本程序可编译成可执行文件,直接运行代码进行测试;并可以选择运行模式进入灵活的循环可执行模式,通过命令行交互方式进行数据库操作; 此类集成了许多数据库常用操作和一些不常用操作的方法和实例(包括blob数据类型的操作,此blob类型的读写不限于单个读写,可自由灵活的操作多个blob字段);本程序为本人对sqlite3的包装,目的在于更方便的调用数据库操作等; 本程序采用C++进行封装(注释详细),将数据库的一些操作封装成类的形式; 并用C语言格式导出C接口供C语言的调用; 即本程序是C语言、C++兼容 本程序所使用的Makefile文件由本人创作(注释详细),可支持动态库编译、静态库编译等等,经过长时间优化积累,可通过简单修改参数适用于绝大部分应用场景。 本程序的调试输出使用的是本人自创的debug接口,以库的形式形成依赖,线程安全,以后会找机会包装上传此类源代码; 本程序可兼容linux以及windows环境,本人的运行环境在Linux,也试过在windows环境可编译运行。

文件下载

资源详情

[{"title":"( 32 个子文件 2.16MB ) sqlite3数据库操作类","children":[{"title":"sqlite","children":[{"title":"mkfile","children":[{"title":"chmod.mk <span style='color:#111;'> 698B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"Wtime.c <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"test_base.c <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"test_index.c <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"test_sqlcmd.cpp <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"test_exec.cpp <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"test_blob.c <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"test_transaction.c <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"include","children":[{"title":"sqlite","children":[{"title":"sqlite3.h <span style='color:#111;'> 562.66KB </span>","children":null,"spread":false},{"title":"WsqlQuery.h <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"WsqlCmd.h <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"WsqlType.h <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"Wsqlite.hpp <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false},{"title":"WsqlBlob.hpp <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Wsqlite.h <span style='color:#111;'> 7.05KB </span>","children":null,"spread":false},{"title":"WsqlBlob.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"sqlite3ext.h <span style='color:#111;'> 33.99KB </span>","children":null,"spread":false},{"title":"WsqlQuery.hpp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"Wdebug.h <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"Tdatatype.h <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"Wtime.h <span style='color:#111;'> 525B </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"source","children":[{"title":"sqlite","children":[{"title":"cWsqlQuery.cpp <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Wsqlite.cpp <span style='color:#111;'> 10.57KB </span>","children":null,"spread":false},{"title":"cWsqlite.cpp <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"WsqlQuery.cpp <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"cWsqlBlob.cpp <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"WsqlBlob.cpp <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"source","children":[{"title":"sqlite3.c <span style='color:#111;'> 7.70MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"libWdebug.a <span style='color:#111;'> 16.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • visionfuture :
    很不错,注释很清晰,对于可以学习借鉴一下
    2019-07-08

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明