datomic

enn 2026-04-16T20:50:38.138879Z

Given a database value, is it possible to determine whether it is an in-memory or persisted database?

favila 2026-04-16T20:58:32.399619Z

An in-memory database will only have a :memidx tier and no other.

2
favila 2026-04-16T20:58:41.099399Z

...but why do you want this?

enn 2026-04-16T22:36:05.886639Z

To identify whether I'm in a dev or test environment (but I've thought better of doing it this way)