{"id":13726099,"url":"https://github.com/mmottl/sqlite3-ocaml","last_synced_at":"2025-04-04T20:06:50.282Z","repository":{"id":18364465,"uuid":"21544705","full_name":"mmottl/sqlite3-ocaml","owner":"mmottl","description":"OCaml bindings to the SQLite3 database","archived":false,"fork":false,"pushed_at":"2025-03-07T17:48:34.000Z","size":1346,"stargazers_count":119,"open_issues_count":2,"forks_count":34,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T19:07:11.027Z","etag":null,"topics":["database","ocaml","sqlite3"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmottl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2014-07-06T17:21:13.000Z","updated_at":"2025-03-23T14:54:07.000Z","dependencies_parsed_at":"2024-02-01T20:07:37.347Z","dependency_job_id":"3144a569-1fd6-43df-9dd5-feb55553dec7","html_url":"https://github.com/mmottl/sqlite3-ocaml","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmottl%2Fsqlite3-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmottl%2Fsqlite3-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmottl%2Fsqlite3-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmottl%2Fsqlite3-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmottl","download_url":"https://codeload.github.com/mmottl/sqlite3-ocaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242670,"owners_count":20907133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["database","ocaml","sqlite3"],"created_at":"2024-08-03T01:02:52.572Z","updated_at":"2025-04-04T20:06:50.237Z","avatar_url":"https://github.com/mmottl.png","language":"OCaml","funding_links":[],"categories":["Databases","OCaml"],"sub_categories":[],"readme":"# SQLite3-OCaml - SQLite3 Bindings for OCaml\n\n## What is SQLite3-OCaml?\n\nSQLite3-OCaml is an [OCaml](http://www.ocaml.org) library with bindings to the\n[SQLite3](http://www.sqlite.org) client API. Sqlite3 is a self-contained,\nserverless, zero-configuration, transactional SQL database engine with\noutstanding performance.\n\nThe design of these bindings allows for a friendly coexistence with the old\n(version 2) SQLite and its OCaml wrapper `ocaml-sqlite`.\n\n## Usage\n\nThe API documentation is in file `src/sqlite3.mli` and also here:\n[online](http://mmottl.github.io/sqlite3-ocaml/api/sqlite3).\n\nSQLite3 has its own [online documentation](http://www.sqlite.org/docs.html).\n\n### Examples\n\nThe `test`-directory in this distribution contains simple examples for\ntesting features of this library. You can execute the tests by running:\n`dune runtest`.\n\n### Build issues\n\nSQLite3-OCaml depends on `pkg-config` to locate and compile against an\n[SQLite3](http://www.sqlite.org) library.\n\nIf the SQLite3 version is greater than or equal to 3.3.7, the assumption is that\nit supports [Run-Time Loadable Extensions](http://www.sqlite.org/loadext.html).\nIf this feature has been explicitly disabled in the library, building\napplications will fail with something like:\n\n```text\nUndefined symbols for architecture …:\n  \"_sqlite3_enable_load_extension\", referenced from:\n      _caml_sqlite3_enable_load_extension in libsqlite3_stubs.a(sqlite3_stubs.o)\n```\n\n- You can check if your library is missing loadable extensions by searching\n  it for the string `OMIT_LOAD_EXTENSION`.\n\n- If you need to change where `pkg-config` will look for the SQLite3\n  library, set the `PKG_CONFIG_PATH` environment variable to the new\n  directory. Setting the `SQLITE3_OCAML_BREWCHECK` environment variable\n  automates this. This will instruct the build to check for the installation\n  of a _brewed_ version of SQLite and route `pkg-config` appropriately.\n\n- You can explicitly disable run-time loadable extensions by calling\n  `configure` with the flag `--disable-loadable-extensions` or by setting\n  the environment variable `SQLITE3_DISABLE_LOADABLE_EXTENSIONS` if linking\n  problems persist.\n\n- Due to frequent installation issues with loadable extensions on Mac OS X,\n  the default there is to disable them. You will have to explicitly enable\n  them on that platform.\n\n## Credits\n\n- Mikhail Fedotov wrote ocaml-sqlite for SQLite version 2. His bindings\n  served as a reference for this wrapper, but SQLite3 is a complete rewrite.\n\n- Christian Szegedy wrote the initial release for SQLite version 3.\n\n- Markus Mottl rewrote Christian's bindings for Jane Street Holding, LLC to\n  clean up some issues and to make it perform better in multi-threaded\n  environments.\n\n- Enrico Tassi contributed support for user-defined scalar functions.\n\n- Markus W. Weissmann contributed backup functionality.\n\n## Contact Information and Contributing\n\nPlease submit bugs reports, feature requests, contributions to the\n[GitHub issue tracker](https://github.com/mmottl/sqlite3-ocaml/issues).\n\nUp-to-date information is available at: \u003chttps://mmottl.github.io/sqlite3-ocaml\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmottl%2Fsqlite3-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmottl%2Fsqlite3-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmottl%2Fsqlite3-ocaml/lists"}