![]() |
ProvSQL SQL API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Functions for visualizing and exporting provenance circuits in various formats. More...
Functions | |
| TEXT | provsql.view_circuit (UUID token, REGCLASS token2desc, INT dbg=0) |
| Return a DOT or TEXT visualization of the provenance circuit. | |
| TEXT | provsql.to_provxml (UUID token, REGCLASS token2desc=NULL) |
| Return an XML representation of the provenance circuit. | |
| UUID | provsql.provenance () |
| Return the provenance token of the current query result tuple. | |
| TEXT | provsql.where_provenance (UUID token) |
| Compute where-provenance for a result tuple. | |
Functions for visualizing and exporting provenance circuits in various formats.
| UUID provsql.provenance | ( | ) |
Return the provenance token of the current query result tuple.
| TEXT provsql.to_provxml | ( | UUID | token, |
| REGCLASS | token2desc = NULL |
||
| ) |
Return an XML representation of the provenance circuit.
| token | root provenance token |
| token2desc | optional mapping table for gate descriptions |
| TEXT provsql.view_circuit | ( | UUID | token, |
| REGCLASS | token2desc, | ||
| INT | dbg = 0 |
||
| ) |
Return a DOT or TEXT visualization of the provenance circuit.
| token | root provenance token |
| token2desc | mapping table for gate descriptions |
| dbg | debug level (0 = normal) |
| TEXT provsql.where_provenance | ( | UUID | token | ) |
Compute where-provenance for a result tuple.
Returns a TEXT representation showing which input columns contributed to each output column.