Skip to content
forked from watersyuan/cppdb

CppDB is an SQL connectivity library that is designed to provide platform and Database independent connectivity API similarly to what JDBC, ODBC and other connectivity libraries do.

License

Notifications You must be signed in to change notification settings

mdhenning/cppdb

 
 

Repository files navigation

教程地址:http://cppcms.com/sql/cppdb/index.html

因CPPDB 无人维护,目前无法直接和Mariadb对接。也不能支持c++17 此存储库,修改0.3.1版本,提供对c++17 mariadb后端的支持。

CppDB - SQL Connectivity Library CppDB is an SQL connectivity library that is designed to provide platform and Database independent connectivity API similarly to what JDBC, ODBC and other connectivity libraries do.

This library is developed as part of CppCMS Project - the C++ Web Development Framework.

CppDB was designed with following goals in the mind:

Performance is the primary goal - make fastest possible SQL connectivity as possible Transparent connection pooling support Transparent prepared statements caching Dynamic DB modules loading and optional static linking Full and high priority support of FOSS RDBMS: MySQL, PostgreSQL, Sqlite3 Support as many RDBMSs as possible via cppdb-odbc bridge Simplicity in use Locale safety Support of both explicit verbose API and brief and nice syntactic sugar This library was developed on the base of experience with SOCI, libdbi and other SQL Connectivity libraries.

The CppDB library, version 0.0.3 and above, is released under Boost Software License 1.0 or The MIT license at your opinion, CppDB version 0.0.2 and below is released under terms of LGPLv3 license.

This manual is divided in the following parts:

Basic use:

Quick Start Guide Connecting to Database Preparing and Executing Statements Fetching Query Results Using Connection Pool Handling Transactions Escaping Strings Backends Reference Building CppDB Tested Compilers and Platforms Changelog Advanced use:

Linking Existing Drivers Statically Developing Your Own Backends

About

CppDB is an SQL connectivity library that is designed to provide platform and Database independent connectivity API similarly to what JDBC, ODBC and other connectivity libraries do.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 83.2%
  • C++ 13.0%
  • JavaScript 2.0%
  • CSS 0.9%
  • CMake 0.4%
  • Shell 0.2%
  • Other 0.3%