View Ticket
Not logged in
Ticket UUID: 7772cc876e640d152e95b3629646fcc8fa4713c0
Title: Provide database access from TH scripts.
Status: Open Type: Feature_Request
Severity: Important Priority: Immediate
Subsystem: one Resolution: Open
Last Modified: 2008-08-03 12:42:44
Version Found In:
Description & Comments:
I want to populate a ticket version selector with tag values from the tag table. It appears to be possilbe to put a 'proc' command in the common definitions for tickets and use it to reture values for a combobox but I don't know how to do a database select on the tag table. Is it possible to do a SELECT inside proc?

Tom K.

The (undocumented) TH scripting language is well-suited for doing this kind of thing. But doing so will require a bit of C code for linking TH with SQLite. Such code does not currently exist in fossil.

This seems like a reasonable enhancement request. I'll look into adding it. You might want to write a ticket to so that I don't forget.

D. Richard Hipp