mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-26 00:18:21 +01:00
Fix notes for 2019-04-26
This commit is contained in:
parent
5453b76822
commit
48c14002d1
@ -991,7 +991,7 @@ dspace=# SELECT * FROM item WHERE item_id=74648;
|
||||
- Export a list of authors for Peter to look through:
|
||||
|
||||
```
|
||||
dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
|
||||
dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
|
||||
COPY 65752
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user