{"repo":"easafe/purescript-droplet","free":true,"listed":false,"github":"https://github.com/easafe/purescript-droplet","clone":"git clone https://github.com/easafe/purescript-droplet.git","description":"Type-safe ORM for PureScript","language":"PureScript","stars":31,"topics":["purescript","database","mapper","orm","edsl","postgresql"],"license":"MIT","category":"databases-storage","readme_excerpt":"purescript-droplet Composable, type-safe eDSL and query mapper for PureScript targeting PostgreSQL eDSL made out of combinators (almost) identical to their SQL counterparts Generated SQL matches eDSL one-to-one, and is guaranteed to be correct and unambiguous Supports nearly all common SQL operations for , , , DELETE and others, including joins, aggregations, subqueries, etc Very little boilerplate: query results are automatically mapped to records, (valid) queries never require type annotations Migration support via pebble Documentation See the project page for an in-depth look, or pursuit for API docs Quick start Install Create some tables Define some types for your SQL (Don't worry, table creation, typing and migration can be automated with pebble) Prepare some queries Connect to the database Run queries Licensing Wrapper code around pg was adapted from purescript-postgresql-client so its license has been included in PURESCRIPT-POSTGRESQL-CLIENT-LICENSE Funding If this project is useful for you, consider throwing a buck to keep development possible","default_branch":null,"files":null,"tree":[],"storefront":"/r/easafe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/easafe/purescript-droplet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}