finds.dev← search

// the find

DenisRitchie/SOCI_CppDatabaseAccessLibrary

C · updated Nov 2022

Ejemplos de acceso a bases de datos SQL Server mediente la librería SOCI

A small collection of Visual Studio example projects showing how to hit SQL Server (via ODBC) and SQLite from C++ using the SOCI database access library, built with C++20 modules (.ixx files). It's a personal reference/demo repo, not a library or reusable project.

Uses SOCI's ODBC backend against a Northwind-style schema, which is a reasonable pattern to copy for a quick SOCI+SQL Server example. Structures the ODBC example around C++20 named modules (Models.ixx, OdbcContext.ixx, etc.) rather than headers, which is at least a modern take on organizing this kind of code.

Prebuilt SOCI DLLs and .lib files are committed straight into the repo instead of using a package manager or build step, so you're trusting binaries of unknown provenance and can't easily rebuild or update them. A SQLite database file is checked into source control, which is bad practice and bloats the repo for no reason. There's no README beyond a single Spanish sentence, no explanation of setup, dependencies, or how the two example projects differ, and it's VS-solution-only with no cross-platform build. Zero stars, no activity since November 2022, and no commit history suggesting active use makes this a one-off personal exercise rather than something to adopt.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →