go-sqlite3:使用数据库的sqlite3驱动程序-源码

上传者: 42156940 | 上传时间: 2021-02-02 16:35:39 | 文件大小: 2.29MB | 文件类型: ZIP
go-sqlite3 最新的稳定版本是v1.14或更高版本,而不是v2。 注意:增加到v2是偶然的。 没有重大变化或功能。 描述 sqlite3驱动程序符合内置的数据库/ sql接口 支持的Golang版本:请参阅 总览 安装 可以使用go get命令安装此软件包: go get github.com/mattn/go-sqlite3 go-sqlite3是cgo软件包。 如果要使用go-sqlite3构建应用,则需要gcc。 但是,使用go install github.com/mattn/go-sqlite3 (需要gcc)构建并安装go-sqlite3之后,您以后就可以构建应用程序而无需依赖gcc。 重要提示:因为这是启用了CGO软件包,所以您需要设置环境变量CGO_ENABLED=1并在路径中存在gcc编译。 API参考 API文档可在以下位置找到: : 可以在目录下找到 连接字符串 创建新SQLite数据库或与现有数据库的连接时,可以使用文件名提供其他选项。 这也称为DSN字符串。 (数据源名称)。 选项将附加在SQLite数据库的文件名之后。 数据库文件名和

文件下载

资源详情

[{"title":"( 81 个子文件 2.29MB ) go-sqlite3:使用数据库的sqlite3驱动程序-源码","children":[{"title":"go-sqlite3-master","children":[{"title":"sqlite3_opt_unlock_notify.c <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"error.go <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_userauth_test.go <span style='color:#111;'> 14.98KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_introspect.go <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"error_test.go <span style='color:#111;'> 6.14KB </span>","children":null,"spread":false},{"title":"callback_test.go <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"sqlite3ext.h <span style='color:#111;'> 34.76KB </span>","children":null,"spread":false},{"title":"sqlite3_libsqlite3.go <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"static_mock.go <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"go.yaml <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"sqlite3_func_crypt.go <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_preupdate_hook.go <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_json1.go <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"upgrade","children":[{"title":"upgrade.go <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"package.go <span style='color:#111;'> 247B </span>","children":null,"spread":false}],"spread":false},{"title":"sqlite3_load_extension.go <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_preupdate_omit.go <span style='color:#111;'> 767B </span>","children":null,"spread":false},{"title":"sqlite3_opt_unlock_notify_test.go <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"sqlite3_usleep_windows.go <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"sqlite3-binding.c <span style='color:#111;'> 7.81MB </span>","children":null,"spread":false},{"title":"sqlite3_other.go <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"sqlite3.go <span style='color:#111;'> 61.92KB </span>","children":null,"spread":false},{"title":"callback.go <span style='color:#111;'> 11.21KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_userauth.go <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_preupdate.go <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"sqlite3_opt_fts5.go <span style='color:#111;'> 286B </span>","children":null,"spread":false},{"title":"sqlite3_go113_test.go <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_vacuum_full.go <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"sqlite3_opt_secure_delete_fast.go <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"sqlite3_opt_secure_delete.go <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"sqlite3_type.go <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_preupdate_hook_test.go <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"sqlite3_load_extension_omit.go <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"_example","children":[{"title":"vtable","children":[{"title":"main.go <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"vtable.go <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"trace","children":[{"title":"main.go <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"simple","children":[{"title":"simple.go <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"hook","children":[{"title":"hook.go <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"custom_func","children":[{"title":"main.go <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"mod_regexp","children":[{"title":"extension.go <span style='color:#111;'> 798B </span>","children":null,"spread":false},{"title":"sqlite3_mod_regexp.c <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 394B </span>","children":null,"spread":false}],"spread":false},{"title":"limit","children":[{"title":"limit.go <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"mod_vtable","children":[{"title":"picojson.h <span style='color:#111;'> 27.37KB </span>","children":null,"spread":false},{"title":"extension.go <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"sqlite3_mod_vtable.cc <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"vtable_eponymous_only","children":[{"title":"main.go <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"vtable.go <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"sqlite3_load_extension_test.go <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 28.46KB </span>","children":null,"spread":false},{"title":"backup_test.go <span style='color:#111;'> 9.75KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_vacuum_incr.go <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"sqlite3_trace.go <span style='color:#111;'> 8.14KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_app_armor.go <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"sqlite3_context.go <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"sqlite3_func_crypt_test.go <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"sqlite3_go18_test.go <span style='color:#111;'> 11.63KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_allow_uri_authority.go <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"sqlite3_opt_unlock_notify.go <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"convert.go <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"sqlite3_test.go <span style='color:#111;'> 58.08KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_icu.go <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"sqlite3_windows.go <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"sqlite3_opt_foreign_keys.go <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":".codecov.yml <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"sqlite3_opt_fts3_test.go <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"sqlite3_go18.go <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_stat4.go <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"sqlite3_opt_vtable_test.go <span style='color:#111;'> 13.76KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_vtable.go <span style='color:#111;'> 19.55KB </span>","children":null,"spread":false},{"title":"backup.go <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"sqlite3_solaris.go <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"sqlite3-binding.h <span style='color:#111;'> 573.18KB </span>","children":null,"spread":false},{"title":"sqlite3_opt_userauth_omit.go <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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