PREPROD
ReaderAuthor

relic

Photo Record Site ID

`PhotoRecord.siteId` is an optional reference from a photo record to the Site shown in the photograph.

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

When a photograph documents a particular archaeological site, its PhotoRecord can carry a siteId pointing to that Site. This link is optional — a general project overview shot or a studio artifact photo may have no site at all — but when present it lets you pull up every image of a given site at once. Because the link is set to clear rather than delete the photo if the site record goes away, removing a Site never destroys the photographs that referenced it; their siteId is simply emptied.

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