{"id":20479158,"url":"https://github.com/kkazuo/pgez","last_synced_at":"2026-05-10T10:23:29.213Z","repository":{"id":138236151,"uuid":"169989273","full_name":"kkazuo/pgez","owner":"kkazuo","description":"Eazy wrapper of postgresql","archived":false,"fork":false,"pushed_at":"2019-02-12T14:32:34.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T03:49:40.645Z","etag":null,"topics":["core","ocaml","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kkazuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-02-10T14:52:58.000Z","updated_at":"2020-10-12T09:29:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"2350886a-2c68-4937-9bf7-0511d09c46b7","html_url":"https://github.com/kkazuo/pgez","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkazuo%2Fpgez","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkazuo%2Fpgez/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkazuo%2Fpgez/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkazuo%2Fpgez/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkazuo","download_url":"https://codeload.github.com/kkazuo/pgez/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242048574,"owners_count":20063404,"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":["core","ocaml","postgresql"],"created_at":"2024-11-15T15:41:43.775Z","updated_at":"2026-05-10T10:23:24.175Z","avatar_url":"https://github.com/kkazuo.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pgez\n\nEazy wrapper of postgresql.\n\n```\nlet db = new Postgresql.connection () in\n\nPgez.with_transaction ~db ~f:begin fun () -\u003e\n  Pgez.exec ~db {|\n    SELECT name FROM Names\n    WHERE uid = $1\n  |} ~params:[| `Int 1234 |]\n  |\u003e Result.return\nend\n|\u003e function\n| Ok [ [| `String name |] ] -\u003e\n  Log.Global.info \"found %s.\" name\n| Ok r -\u003e r\n          |\u003e [%sexp_of: Pgez.Value.t array list]\n          |\u003e Sexp.to_string\n          |\u003e Log.Global.info \"%s\"\n| Error _ -\u003e\n  ();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkazuo%2Fpgez","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkazuo%2Fpgez","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkazuo%2Fpgez/lists"}