Loading ...
Sorry, an error occurred while loading the content.

announce: command-line tool to fetch DB data as JSON

Expand Messages
  • Stephan Beal
    Hi, all! i thought one or two of you might find a use for this: http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/select-to-json It s a small C app
    Message 1 of 1 , Apr 22 6:16 AM
    View Source
    • 0 Attachment
      Hi, all!

      i thought one or two of you might find a use for this:

      http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/select-to-json

      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.

      Happy Hacking!

      --
      ----- stephan beal
      http://wanderinghorse.net/home/stephan/


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.