EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04838
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Updating a compound multiple field
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Updating a compound multiple field
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Fri, 2 Oct 2015 16:00:37 +0100
Your assumptions are all correct. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 2 Oct 2015, at 15:37, martin.braendle@id.uzh.ch wrote: > Hi, > > just a short question: Am I assuming correctly if I update a compound multiple field with > > $dataobj->set_value( array of hashes ) > > that the new values overwrite the existing ones and are not appended to the existing values? > > E.g. if I want to keep the existing values, I need to read them out first and create a merged array with the new values that I have to write back? > > Thanks, > > Martin > > -- > Dr. Martin Brändle > Zentrale Informatik > Universität Zürich > Stampfenbachstr. 73 > CH-8006 Zürich > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: http://www.eprints.org/tech.php/ > *** EPrints community wiki: http://wiki.eprints.org/ > *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Updating a compound multiple field
- From: martin.braendle@id.uzh.ch
- [EP-tech] Updating a compound multiple field
- Prev by Date: [EP-tech] Re: Updating a compound multiple field
- Next by Date: [EP-tech] Errors from event queue
- Previous by thread: [EP-tech] Re: Updating a compound multiple field
- Next by thread: [EP-tech] Errors from event queue
- Index(es):