PREPROD
ReaderAuthor

relic

Artifact Lab Batch Artifact ID

`ArtifactLabBatch.artifactId` identifies the Artifact assigned in an artifact-to-lab-batch link.

1 min read · 2 depth levelsstratum-relic · vdevMatches production
Everyday

The artifactId is one half of the ArtifactLabBatch join, naming which Artifact has been placed into a lab batch. Paired with the labBatchId, it forms the composite key that makes each artifact-in-batch assignment unique, so the same artifact can never be added to the same batch twice while still being free to join other batches. If the underlying artifact is deleted, its batch-membership rows are removed automatically, keeping lab batches from referencing finds that no longer exist.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?