I’m looking at a scenario that involves copying selected entities between databases. I need to maintain the relationships between those entities, as defined by their :db.type/ref attributes.
But if I write an entity to a different DB, it will be assigned a new entity id, which seems like it will break the relationship? So can external keys be used for relationships instead?