<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged transactions functions database functions</title>
<link>https://ask.datomic.com/index.php/tag/transactions+functions+database+functions</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to retract entities that reference a retracted entity</title>
<link>https://ask.datomic.com/index.php/692/how-to-retract-entities-that-reference-a-retracted-entity</link>
<description>&lt;p&gt;In my database model, I have several entities referencing the user entity.&lt;br&gt;
When I retract the user entity using :db/retractEntity, the user is correctly retracted, as well as its refs in the other entities, for example :message/user.&lt;br&gt;
For some entities, when the user is retracted the entity itself should also be retracted, but since the entity is not a component of the user, as the relation is the other way around, I did not find a way to retract the entire entity.&lt;br&gt;
Is there a way to make this happen for some entities?&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/692/how-to-retract-entities-that-reference-a-retracted-entity</guid>
<pubDate>Thu, 06 Jan 2022 09:52:00 +0000</pubDate>
</item>
<item>
<title>How to install transaction function using the [com.datomic/client-pro &quot;0.9.63&quot;]</title>
<link>https://ask.datomic.com/index.php/673/how-install-transaction-function-using-the-datomic-client</link>
<description>&lt;p&gt;How to install transaction function using the [com.datomic/client-pro &quot;0.9.63&quot;] ?&lt;br&gt;
I am following this example &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/on-prem/reference/database-functions.html&quot;&gt;https://docs.datomic.com/on-prem/reference/database-functions.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;However there is no d/function to install the transaction function... And looking at the documentation there is only datomic dev local and datomic client pro libraries&lt;/p&gt;
&lt;p&gt;How can I create a transaction function using the client pro lib?&lt;/p&gt;
</description>
<category>Client API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/673/how-install-transaction-function-using-the-datomic-client</guid>
<pubDate>Wed, 13 Oct 2021 16:27:12 +0000</pubDate>
</item>
</channel>
</rss>