https://github.com/SOCI/soci
Official repository of the SOCI - The C++ Database Access Library
https://github.com/SOCI/soci
boost cplusplus database-library db2 firebird mysql odbc oracle postgresql sqlite3
Last synced: about 2 months ago
JSON representation
Official repository of the SOCI - The C++ Database Access Library
- Host: GitHub
- URL: https://github.com/SOCI/soci
- Owner: SOCI
- License: bsl-1.0
- Created: 2011-11-09T01:49:49.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T16:14:07.000Z (7 months ago)
- Last Synced: 2024-10-29T15:47:33.822Z (6 months ago)
- Topics: boost, cplusplus, database-library, db2, firebird, mysql, odbc, oracle, postgresql, sqlite3
- Language: C++
- Homepage: http://soci.sourceforge.net/
- Size: 57.8 MB
- Stars: 1,415
- Watchers: 93
- Forks: 478
- Open Issues: 168
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE_1_0.txt
- Authors: AUTHORS
Awesome Lists containing this project
README
# SOCI - The C++ Database Access Library
[](https://github.com/SOCI/soci/releases/tag/v4.1.0)
[](https://github.com/SOCI/soci/tree/release/4.1)[](https://soci.sourceforge.net)
[](https://sourceforge.net/projects/soci/files/)[](https://gitter.im/SOCI/soci)
[](https://sourceforge.net/p/soci/mailman/)
[](https://stackoverflow.com/questions/tagged/soci)## Build Status
| Branches | GitHub Actions | AppVeyor-CI | Documentation | Coverity Scan |
|-------------|----------------|-------------|---------------|----------------|
| master | [](https://github.com/SOCI/soci/actions) | [](https://ci.appveyor.com/project/SOCI/soci/branch/master) | [](https://circleci.com/gh/SOCI/soci/tree/master) | [](https://scan.coverity.com/projects/soci-soci) |
| release/4.1 | [](https://github.com/SOCI/soci/actions) | [](https://ci.appveyor.com/project/SOCI/soci/branch/release/4.1) | [](https://circleci.com/gh/SOCI/soci/tree/release%2F4.1) | |## History
Originally, SOCI was developed by [Maciej Sobczak](https://www.msobczak.com/)
at [CERN](https://www.cern.ch/) as abstraction layer for Oracle,
a **Simple Oracle Call Interface**.
Later, several database backends have been developed for SOCI,
thus the long name has lost its practicality.
Currently, if you like, SOCI may stand for **Simple Open (Database) Call Interface**
or something similar.> "CERN is also a user of the SOCI library, which serves as a database access
> layer in some of the control system components."-- Maciej Sobczak at [Inspirel](http://www.inspirel.com/users.html)
## License
SOCI library is distributed under the terms of the [Boost Software License](https://www.boost.org/LICENSE_1_0.txt).
## Requirements
Core:
* Compiler with C++14 support (please use 4.0 series for C++98 support) or MSVS 2015 or later.
* CMake 3.23 or later.
* Optionally: Boost C++ Libraries (header-only and Boost.DateTime).Backend specific client libraries for:
* DB2
* Firebird
* MySQL
* ODBC with specific database driver
* Oracle
* PostgreSQL
* SQLite 3See documentation at [soci.sourceforge.net](https://soci.sourceforge.net) for details
[BSL](https://www.boost.org/LICENSE_1_0.txt) ©
[Maciej Sobczak](https://github.com/msobczak) and [contributors](https://github.com/SOCI/soci/graphs/contributors).