{"id":47111082,"url":"https://github.com/systelab/cpp-sqlite-db-adapter","last_synced_at":"2026-03-12T17:45:56.808Z","repository":{"id":46589117,"uuid":"129771539","full_name":"systelab/cpp-sqlite-db-adapter","owner":"systelab","description":"Implementation of C++ DB adapter based on SQLite","archived":false,"fork":false,"pushed_at":"2025-10-29T08:38:02.000Z","size":89718,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-29T10:28:50.759Z","etag":null,"topics":["cpp-library"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/systelab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-04-16T16:11:18.000Z","updated_at":"2025-05-20T14:13:57.000Z","dependencies_parsed_at":"2025-10-29T10:17:43.974Z","dependency_job_id":"13717504-0c5b-415e-9ba0-d95e0e9d9074","html_url":"https://github.com/systelab/cpp-sqlite-db-adapter","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/systelab/cpp-sqlite-db-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systelab%2Fcpp-sqlite-db-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systelab%2Fcpp-sqlite-db-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systelab%2Fcpp-sqlite-db-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systelab%2Fcpp-sqlite-db-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systelab","download_url":"https://codeload.github.com/systelab/cpp-sqlite-db-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systelab%2Fcpp-sqlite-db-adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30436008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp-library"],"created_at":"2026-03-12T17:45:56.119Z","updated_at":"2026-03-12T17:45:56.784Z","avatar_url":"https://github.com/systelab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/systelab/cpp-sqlite-db-adapter.svg?branch=master)](https://travis-ci.org/systelab/cpp-sqlite-db-adapter)\n[![Build status](https://ci.appveyor.com/api/projects/status/3qv7apbhgby08ekh?svg=true)](https://ci.appveyor.com/project/systelab/cpp-sqlite-db-adapter)\n[![codecov](https://codecov.io/gh/systelab/cpp-sqlite-db-adapter/branch/master/graph/badge.svg)](https://codecov.io/gh/systelab/cpp-sqlite-db-adapter)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/6cff2fd253e94ef6b53a8d23324c710e)](https://www.codacy.com/gh/systelab/cpp-sqlite-db-adapter/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=systelab/cpp-sqlite-db-adapter\u0026amp;utm_campaign=Badge_Grade)\n\n\n# C++ Database Adapter implementation with SQLite\n\nThis repository implements the interface for the [C++ Database Adapter](https://github.com/systelab/cpp-db-adapter) using [SQLite](https://www.sqlite.org).\n\n\n## Setup\n\n### Download using Conan\n\nThis library is designed to be installed by making use of [Conan](https://conan.io/) package manager. So, you just need to add the following requirement into your Conan recipe:\n\n```python\ndef requirements(self):\n   self.requires(\"DbSQLiteAdapter/1.0.0@systelab/stable\")\n```\n\n\u003e Version number of this code snipped is set just as an example. Replace it for the desired version package to retrieve.\n\nAs this package is not available on the conan-center, you will also need to configure a remote repository before installing dependencies:\n\n```bash\nconan remote add systelab-public https://csw.jfrog.io/artifactory/api/conan/cpp-conan-production-local\n```\n\nSee Conan [documentation](https://docs.conan.io/en/latest/) for further details on how to integrate this package with your build system.\n\n### Build from sources\n\nSee [BUILD.md](BUILD.md) document for details.\n\n\n## Usage\n\nEstablish connection to a SQLite database by creating a configuration object that specifies the path of `.db` file to open:\n\n```cpp\n#include \"DbSQLiteAdapter/Connection.h\"\n#include \"DbSQLiteAdapter/ConnectionConfiguration.h\"\n\nsystelab::db::sqlite::Connection connection;\nsystelab::db::sqlite::ConnectionConfiguration configuration(\"MyFolder/MyDatabase.db\");\nstd::unique_ptr\u003csystelab::db::IDatabase\u003e database = connection.loadDatabase(configuration);\n```\n\nUse the created `systelab::db::IDatabase` object to access to the database as described on [C++ Database Adapter](https://github.com/systelab/cpp-db-adapter) documentation.\n\n### Encryption\n\nIn order work with encryption, the connection configuration object must include a key as the second attribute:\n\n```cpp\nsystelab::db::sqlite::Connection connection;\nsystelab::db::sqlite::ConnectionConfiguration configuration(\"MyFolder/MyDatabase.db\", \"Y0urDBEncrypt1onK3y\");\nstd::unique_ptr\u003csystelab::db::IDatabase\u003e database = connection.loadDatabase(configuration);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystelab%2Fcpp-sqlite-db-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystelab%2Fcpp-sqlite-db-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystelab%2Fcpp-sqlite-db-adapter/lists"}