{"id":9243795,"url":"https://github.com/rowtype-yoga/purescript-yoga-postgres","last_synced_at":"2026-06-09T08:03:34.238Z","repository":{"id":361377597,"uuid":"1150107664","full_name":"rowtype-yoga/purescript-yoga-postgres","owner":"rowtype-yoga","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-30T10:18:24.000Z","size":191,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-30T12:10:10.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PureScript","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/rowtype-yoga.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":"2026-02-04T22:20:06.000Z","updated_at":"2026-05-30T10:18:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rowtype-yoga/purescript-yoga-postgres","commit_stats":null,"previous_names":["rowtype-yoga/purescript-yoga-postgres"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rowtype-yoga/purescript-yoga-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowtype-yoga%2Fpurescript-yoga-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowtype-yoga%2Fpurescript-yoga-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowtype-yoga%2Fpurescript-yoga-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowtype-yoga%2Fpurescript-yoga-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rowtype-yoga","download_url":"https://codeload.github.com/rowtype-yoga/purescript-yoga-postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowtype-yoga%2Fpurescript-yoga-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34096955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-05-08T00:11:19.965Z","updated_at":"2026-06-09T08:03:34.233Z","avatar_url":"https://github.com/rowtype-yoga.png","language":"PureScript","funding_links":[],"categories":["Databases"],"sub_categories":["Deku"],"readme":"# yoga-postgres\n\nType-safe PureScript FFI bindings for PostgreSQL with typed query support.\n\n## Installation\n\n```bash\nspago install yoga-postgres yoga-sql-types\nnpm install pg\n```\n\n## Usage\n\n```purescript\nimport Yoga.Postgres as PG\nimport Yoga.Postgres.TypedQuery as TQ\n\nmain = launchAff_ do\n  conn \u003c- PG.connect { connectionString: \"postgresql://localhost/mydb\" }\n  \n  -- Raw queries\n  rows \u003c- PG.query conn \"SELECT * FROM users\" []\n  \n  -- Typed queries\n  result \u003c- TQ.query conn \n    (TQ.sql @\"SELECT id, name FROM users WHERE id = $id\")\n    { id: 123 }\n  \n  PG.disconnect conn\n```\n\nSee [yoga-postgres-om](../yoga-postgres-om) for Om-wrapped operations.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowtype-yoga%2Fpurescript-yoga-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frowtype-yoga%2Fpurescript-yoga-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowtype-yoga%2Fpurescript-yoga-postgres/lists"}