Skip to content

rowtype-yoga/purescript-yoga-postgres-om

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yoga-postgres-om

Om-wrapped PostgreSQL operations for PureScript.

Installation

spago install yoga-postgres-om yoga-om-core yoga-om-layer

Usage

import Yoga.Postgres.Om as PG
import Yoga.Postgres.OmLayer as PGLayer

main = launchAff_ do
  runOm (PGLayer.live config) do
    rows <- PG.query "SELECT * FROM users" []
    -- Use PostgreSQL operations without manually passing connection

See yoga-postgres for raw bindings.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published