Skip to content

vjache/epgpool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coveralls GitHub tag Hex.pm

epgpool: erlang postgresql pool.


Description

Erlang postgresql pool application based on poolboy and epgsql

Example

test.config

[
 {epgpool, [
  {database_host, "localhost"},
  {database_name, "mydb"},
  {database_user, "test_user"},
  {database_password, "passwd"}
 ]}
]
epgpool:with(fun(C) ->
    {ok, _Columns, [{A}]} = epgpool:squery(C, "select 1"),
    {ok, _Columns, [{A}]} = epgpool:squery(C, "select 2")
end)

About

Erlang postgresql pool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 100.0%