announce: command-line tool to fetch DB data as JSON
- View SourceHi, all!
i thought one or two of you might find a use for this:
It's a small C app which connects to a sqlite3 or mysql database, runs
arbitrary SELECT queries, and sends the results as JSON to stdout.
It's untested on anything but Linux, but "should" compile as-is on most
Unix-like environments. The makefile doesn't specifically support Mac (nor
do i) nor Cygwin, but someone out there can certainly figure out how to do
it. The code is portable C89, and "could" work on Windows once a proper
project file is set up for it.
----- stephan beal
[Non-text portions of this message have been removed]