Revision 1386
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/QuerySpecification.java | ||
---|---|---|
840 | 840 |
public static String printPackageSQL(String docid) |
841 | 841 |
{ |
842 | 842 |
StringBuffer self = new StringBuffer(); |
843 |
self.append("select z.nodedata, x.nodedata, y.nodedata from "); |
|
843 |
self.append("select z.nodedata, z.parentnodeid, "); |
|
844 |
self.append("x.nodedata, x.parentnodeid, y.nodedata, y.parentnodeid from "); |
|
844 | 845 |
self.append("(select nodeid, parentnodeid from xml_index where path like "); |
845 | 846 |
self.append("'triple/subject') s, (select nodeid, parentnodeid "); |
846 | 847 |
self.append("from xml_index where path like "); |
Also available in: Unified diff
Change package query.