Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
SELECT ds6_bitstream2item(123);  -- 456
SELECT ds6_item2collectionhandle(456);  -- '123456789/789'

SELECT ds6_metadata_field2id('dc', 'title');  -- 64
SELECT ds6_metadata_field2id('dc', 'description', 'abstract');  -- 27
SELECT ds6_metadata_id2field(27);  -- (dc,description,abstract)
SELECT (ds6_metadata_id2field(27)).element;  -- 'description'

DSpace 5

Overview

argument
result 
bitstreambundleitemcollectioncommunity
bitstream-----
bundleds6_bitstream2bundle----
itemds6_bitstream2item
ds6_bitstream2itemhandle
ds6_bundle2item
ds6_bundle2itemhandle

ds6_item2itemhandle
ds6_itemhandle2item

--
collectionds6_bitstream2collection
ds6_bitstream2collectionhandle
ds6_bundle2collection
ds6_bundle2collectionhandle

ds6_item2collection
ds6_item2collectionhandle
ds6_itemhandle2collection

ds6_itemhandle2collectionhandle
ds6_collection2collectionhandle
ds6_collectionhandle2collection
-
communityds6_bitstream2community
ds6_bitstream2communityhandle
ds6_bundle2community
ds6_bundle2communityhandle

ds6_item2community
ds6_item2communityhandle
ds6_itemhandle2community
ds6_itemhandle2communityhandle

ds6_collection2community
ds6_collection2communityhandle
ds6_collectionhandle2community
ds6_collectionhandle2communityhandle
ds6_community2communityhandle
ds6_communityhandle2community

...