Skip to content

๐Ÿท๐Ÿ—„๏ธ A fused-effects adapter for squeal-postgresql.

License

Notifications You must be signed in to change notification settings

ilyakooo0/fused-effects-squeal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

fused-effects-squeal Hackage

This is an overview of the way this library works. If you would like to learn how Squeal itself works you should head to the morphismtech/squeal repository.

Usage

There are two sepaeate effects with corresponding carriers: Squeal (with SquealC) and SquealPool (with SquealPoolC).

Squeal mimics the functions from MonadPQ (from squeal-postgresql) and represnts the "inside a transaction" effect.

You can run it directly with runSquealWithConn family of functions, but you probably want to use a connection pool.

SquealPool allows you to call runSqueal function, which picks a connection from the connection pool and runs the Squeal effect.

About

๐Ÿท๐Ÿ—„๏ธ A fused-effects adapter for squeal-postgresql.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published