:db/retractEntity and :db.fn/retractEntity

I’m posting this in Cloud, because I only discovered the :db version after starting to use Cloud.

It seems the :db.fn version doesn’t work in Cloud. Is that right? Why are there two namespaces?


The :db.fn namespace is not included in Cloud, but the retractEntity function is available as :db/retractEntity (as you discovered).

This seems like a rather needless incompatibility between the two. I guess it’s because other db.fn functions are not available, and providing a subset of the namespace is not the done thing?

:db/retractEntity works in both products

Maybe the docs could be updated to stick to :db/retractEntity (not sure if anyone from Cognitect is following)

Would it make sense for the db.fn version to be (soft) deprecated?