Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Is it somehow possible to only import new entries during `data:import glossary`? I'd like to add tha

U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet

Is it somehow possible to only import new entries during data:import glossary? I'd like to add that to our deployment script, but I don't want to overwrite already existing values (that might be changed in the zed-backend manually).


  • U0213NKTA82
    U0213NKTA82 Posts: 13 🧑🏻‍🚀 - Cadet

    You could check in the importer (src/Pyz/Zed/DataImport/Business/Model/Glossary/GlossaryWriterStep.php) before creating if there is already an entry. If already existing just skip the entry from the import data.

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 🧑🏻‍🚀 - Cadet
    $someEntity = SomeQuery::create()
    if ($someEntity->isNew()) {