Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ujihisa/postgres-lingrbot

Use PostgreSQL from Lingr
https://github.com/ujihisa/postgres-lingrbot

Last synced: about 1 month ago
JSON representation

Use PostgreSQL from Lingr

Awesome Lists containing this project

README

        

# postgres-lingrbot

A Lingr Bot to run arbitrary SQL statements on PostgreSQL. Written in Clojure.

## Usage

* GET http://postgres-lingrbot.herokuapp.com/
* meta info
* POST http://postgres-lingrbot.herokuapp.com/
* (with lingr bot post)
* message has to begin with a capital letter and end with semicolon
* the bot *executes* it.
* POST http://postgres-lingrbot.herokuapp.com/direct
* e.g. curl -d 'Select * from hello;' http://postgres-lingrbot.herokuapp.com/direct

## License

Copyright (c) 2013 Tatsuhiro Ujihisa

GPLv3 or later