Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshuawscott/elixir-postgres
postgresql database connector for Elixir
https://github.com/joshuawscott/elixir-postgres
Last synced: about 2 months ago
JSON representation
postgresql database connector for Elixir
- Host: GitHub
- URL: https://github.com/joshuawscott/elixir-postgres
- Owner: joshuawscott
- License: mit
- Created: 2013-08-24T02:18:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-05T15:53:19.000Z (over 10 years ago)
- Last Synced: 2023-07-31T16:38:55.954Z (over 1 year ago)
- Language: Elixir
- Size: 164 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elixir-postgres
## PostgreSQL Database adapter for Elixir
Implements a low-level connector for Postgres. This is intended to use as the underlying library for higher-level applications
that will actually respond to incoming messages as desired.## Example
See `lib/pg_query.ex` for an example implementation. Using that:
{:ok, sock, startup_messages} = PGQuery.connect
message_list = PGQuery.query(sock, "SELECT NOW()")The row descriptions and row data still need to be parsed