Libpq.cr

A Crystal binding to the native postgres library (libpq)
Alternatives To Libpq.cr
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Gocmdpev768
3 years ago2mitGo
A command-line GO Postgres query visualizer, heavily inspired by pev (https://github.com/AlexTatiyants/pev)
Vipsql161
4 years agoVim script
A vim-frontend for interacting with psql
Postgresql Ocaml137
25 days ago7otherOCaml
OCaml-bindings for the PostgreSQL database
Pgocaml133
2 years ago41otherOCaml
PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code.
Pgsql Postal110
2 years agomitC
PostgreSQL binding for libpostal
Dpq2592a month ago138May 17, 202213bsl-1.0D
This is yet another attempt to create a good interface to PostgreSQL for the D programming language.
Node Postgres Pure55164789 years ago30December 13, 20143JavaScript
node-postgres without any of the C/C++ stuff
Pg Bricks5054a year ago12August 07, 2017bsd-2-clauseJavaScript
Higher level PostgreSQL client for Node.js
Ext Pq34
a month ago1bsd-2-clauseC
PostgreSQL client library (libpq) binding
Hapi Node Postgres321026 years ago14January 18, 20173mitJavaScript
:package: Wrap hapi requests with a pg connection
Alternatives To Libpq.cr
Select To Compare


Alternative Project Comparisons
Readme

pq.cr

A Crystal binding to the native postgres library (libpq)

Requirements

  • libpq

Usage

  • Add the following to your shards.yml file:
dependencies:
  libpq:
    github: abidon/libpq.cr
    branch: master
  • Call the libpq functions
require "libpq"

conn = LibPQ.connect_db("postgres://user:[email protected]:5432/dbname")
print "#{LibPQ.status(conn)}\n"
LibPQ.finish conn

For more information, check the official Postgres documentation about libpq.

Used in...

License

Copyright 2017 Aurélien Bidon ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Popular Bindings Projects
Popular Postgresql Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Database
Postgresql
Driver
Bindings
Crystal