MCPcopy Create free account
hub / github.com/SOCI/soci

github.com/SOCI/soci @v4.1.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.1.4 ↗ · + Follow
3,718 symbols 6,562 edges 212 files 269 documented · 7% updated 12d ago★ 1,605137 open issues

Browse by type

Functions 2,892 Types & classes 826
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SOCI - The C++ Database Access Library

GitHub release GitHub commits

Website SourceForge

Gitter Mailing Lists StackExchange

Build Status

Branches GitHub Actions AppVeyor-CI Documentation Coverity Scan
master Build Status Build status Docs Status Coverage
release/4.1 Build Status Build status Docs Status

History

Originally, SOCI was developed by Maciej Sobczak at CERN 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

License

SOCI library is distributed under the terms of the Boost Software License.

Requirements

Core:

  • Compiler with C++14 support (please use 4.0 series for C++98 support) or MSVS 2017 or later.
  • CMake 3.23 or later.
  • Optionally: Boost C++ Libraries (header-only and Boost.DateTime).

Backend specific client libraries for:

  • DB2
  • Firebird
  • MySQL / MariaDB
  • ODBC with specific database driver
  • Oracle
  • PostgreSQL
  • SQLite 3

See documentation at soci.sourceforge.net for details

BSL © Maciej Sobczak and contributors.

Core symbols most depended-on inside this repo

Shape

Method 2,129
Class 785
Function 763
Enum 41

Languages

C++100%

Modules by API surface

tests/catch.hpp1,345 symbols
src/core/soci-simple.cpp176 symbols
tests/postgresql/test-postgresql.cpp78 symbols
tests/oracle/test-oracle.cpp74 symbols
tests/sqlite3/test-sqlite3.cpp67 symbols
include/soci/soci-backend.h58 symbols
src/core/session.cpp57 symbols
src/core/statement.cpp47 symbols
include/soci/type-holder.h43 symbols
include/soci/odbc/soci-odbc.h39 symbols
include/soci/statement.h38 symbols
tests/odbc/test-odbc-postgresql.cpp36 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add soci \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page