Skip to content

Commit

Permalink
stub out sql script for file activity #6238
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Oct 3, 2019
1 parent c6683aa commit dddfd23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/sphinx-guides/source/_static/api/file-parents.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
select fmd.label as filename, dsfv.value as dataset_name, 'N/A' as dataverse_level_1_alias, dsv.releasetime as publication_date
from filemetadata fmd, datasetversion dsv, datasetfieldvalue dsfv, datasetfield dsf, dvobject dvo
where fmd.datasetversion_id = dsv.id
and dsv.id = dsf.datasetversion_id
and dsf.id = dsfv.datasetfield_id
and fmd.datafile_id = dvo.id
and dsf.datasetfieldtype_id=1;

0 comments on commit dddfd23

Please sign in to comment.