soci
« Back to VersTracker
Description:
Database access library for C++
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: c++ database sql library orm
Install: brew install soci
About:
SOCI is a C++ database access library that provides a simple and flexible API for interacting with various SQL databases. It abstracts away the complexities of native database APIs, allowing developers to write portable code that works across different database systems. The library is designed to be lightweight and easy to integrate into existing C++ applications.
Key Features:
  • Database agnostic API
  • Simple and intuitive syntax
  • Support for multiple backends (MySQL, PostgreSQL, SQLite3, Oracle)
  • Header-only core library
  • Extensible via custom backends
Use Cases:
  • Developing cross-platform applications requiring database connectivity
  • Rapid prototyping of database-driven C++ services
  • Migrating legacy C++ applications to use modern database interfaces
Alternatives:
  • libpqxx – PostgreSQL-specific, whereas SOCI is database agnostic
  • OTL – OTL is another C++ database library but uses a different API style and template-heavy approach
Version History
Detected Version Rev Change Commit
Sep 13, 2024 10:22pm 0 VERSION_BUMP 322cb3b7