Mark documents as external in destination database when using ETL #18433
Answered
by
arekpalinski
marcuslindblom
asked this question in
Q&A
-
We can't use document id postfix because we have references in the documents being transfered using ETL. loadToCollection({
'@metadata': {
'@external': true
}
}) This works, but I want to add the metadata only and keep all other fields. Is this possible? |
Beta Was this translation helpful? Give feedback.
Answered by
arekpalinski
Apr 24, 2024
Replies: 1 comment
-
You can use the following ETL script:
Please not that I didn't use
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marcuslindblom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the following ETL script:
Please not that I didn't use
@external: true
butexternal: true
. The reason is that:https://ravendb.net/docs/article-page/6.0/csharp/client-api/session/how-to/get-and-modify-entity-metadata#modify-the-metadata