Fork me on GitHub

negative :db/id (tempids) are for when you are creating a new entity. they are placeholders so the rest of the batch of the transaction can use the same placeholder entity to refer to each other. the return map has a ':tempids' map which correlates your placeholders to the actual entity ids once transacted.