{"id":34632556,"url":"https://github.com/dbi-beam/dbi_pgo","last_synced_at":"2026-04-18T21:35:11.456Z","repository":{"id":57488624,"uuid":"133480012","full_name":"dbi-beam/dbi_pgo","owner":"dbi-beam","description":"DBI PostgreSQL extension using PGO","archived":false,"fork":false,"pushed_at":"2018-08-17T09:45:24.000Z","size":743,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T05:58:19.047Z","etag":null,"topics":["elixir","erlang","library","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbi-beam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-15T07:50:51.000Z","updated_at":"2018-08-17T09:45:22.000Z","dependencies_parsed_at":"2022-08-29T13:31:43.711Z","dependency_job_id":null,"html_url":"https://github.com/dbi-beam/dbi_pgo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dbi-beam/dbi_pgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbi-beam%2Fdbi_pgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbi-beam%2Fdbi_pgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbi-beam%2Fdbi_pgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbi-beam%2Fdbi_pgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbi-beam","download_url":"https://codeload.github.com/dbi-beam/dbi_pgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbi-beam%2Fdbi_pgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31986323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"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":["elixir","erlang","library","postgresql"],"created_at":"2025-12-24T16:53:40.974Z","updated_at":"2026-04-18T21:35:11.441Z","avatar_url":"https://github.com/dbi-beam.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"DBI for Erlang (PostgreSQL)\n===========================\n\n[![Build Status](https://api.travis-ci.org/dbi-beam/dbi_pgsql.png)](https://travis-ci.org/dbi-beam/dbi_pgsql)\n[![Codecov](https://img.shields.io/codecov/c/github/dbi-beam/dbi_pgsql.svg)](https://codecov.io/gh/dbi-beam/dbi_pgsql)\n[![License: LGPL 2.1](https://img.shields.io/badge/License-GNU%20Lesser%20General%20Public%20License%20v2.1-blue.svg)](https://raw.githubusercontent.com/dbi-beam/dbi_pgsql/master/COPYING)\n[![Hex](https://img.shields.io/hexpm/v/dbi_pgsql.svg)](https://hex.pm/packages/dbi_pgsql)\n\nDatabase Interface for Erlang and Elixir using PostgreSQL ([pgo](https://github.com/SpaceTime-IoT/pgo)). For further information check [DBI](https://github.com/dbi-beam/dbi).\n\n### Install (rebar3)\n\nTo use it, with rebar, you only need to add the dependency to the rebar.config file:\n\n```erlang\n{deps, [\n    {dbi_pgo, \"0.1.0\"}\n]}\n```\n\n### Install (mix)\n\nTo use it, with mix, you only need to add the dependency to the mix.exs file:\n\n```elixir\n{:dbi_pgo, \"~\u003e 0.1.0\"}\n```\n\n### Configuration\n\nThe configuration is made in the configuration file (`sys.config` or `app.config`) so, you can add a new block for config the database connection as follow:\n\n```erlang\n{dbi, [\n    {mystrongdb, [\n        {type, pgo},\n        {host, \"localhost\"},\n        {user, \"root\"},\n        {pass, \"root\"},\n        {database, \"mystrongdb\"},\n        {poolsize, 100}\n    ]}\n]}\n```\n\nIn case you're using Elixir, you can define the configuration for your project in this way:\n\n```elixir\nconfg :dbi, mystrongdb: [\n              type: :pgo,\n              host: 'localhost',\n              user: 'root',\n              pass: 'root',\n              database: 'mystrongdb',\n              poolsize: 100\n            ]\n```\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbi-beam%2Fdbi_pgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbi-beam%2Fdbi_pgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbi-beam%2Fdbi_pgo/lists"}