On Sat, Sep 13, 2014 at 11:07 AM, Ron W <ronw.m...@gmail.com> wrote: > Well then, it'll have to be SQL via either Fossil CLI or libfossil (or > DBD::SQLite). >
But it's still C - the columns have to be transformed from JSON to SQL in C. i admit - it's _not_ hard to do. All the pieces are there for iterating over the JSON fields and for easy generation of strings (including proper SQL escaping), it's just tedious, which means that in order to get me to do it, i need far more motivation. Trivia: fossil's Blob struct (which is how we create dynamic strings) showed me that C can be (almost) as easy to use as C++, and was what convinced me to give C another try after having abandoned it in 1995 in favour of higher-level languages. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users