I have some experience with Neo4j / cypher. In cypher relationships are first-class citizens, so they can have properties, which I really like. I’m v ...
I have some experience with Neo4j / cypher. In cypher relationships are first-class citizens, so they can have properties, which I really like. I’m v ...
By way of example I'm going to use a drawing as the existing entity which is to have two new shapes added to it. This is the tx that is failing: [{:s ...
I am currently working on a research project that requires us to keep history of the data to access it later on. Event sourcing, naturally, falls exac ...
I'm doing a query on datomic using datomic.api like the following: This query is returning almost the expected value, but as an array, like this: ...
Tested on datomic-free 0.9.5697, clojure 1.10.3 and openjdk 17.01. (require '[datomic.api :as d]) (def uri "datomic:mem://test") (d/create-database ...
Tested on datascript 1.3.0 datoms: [{:db/id -1 :name "Smith" :firstname "Oliver" :age 20} {:db/id -2 :name "Jones" :firstname "Oliver" :age 20} {: ...
datoms: [{:db/id -1 :name "Oliver Smith" :hobbies ["reading" "sports" "music"]}] tried to run the query below to find who likes sports, but the em ...
very basic question to get me started. Suppose I have a database of sales by country: [{:sales/country "CN" :sales/amount 1000 :sales/account "XYZ"} ...
Datomic newbie here. Playing with various valueTypes and can't get tuple data type to work. Here's how defined the schema: This worked. However, I ...
I'm using Datomic Ions to develop an application. In my schema I use composite tuples to guarantee uniqueness: shelves have books and the shelf+book c ...
I'd like to get the history of values for a particular field in Datomic. My intuition is to use (d/history) like (d/q '[:find ?entity ?field-val ?dat ...
I'm using datomic on the server side, with multiple reagent atoms on the client, and now looking at trying datascript on the client. Currently, I'm p ...
I'd like to in a single datomic/datalog query get output relating to multiple entities E.g. In my db (querying Roam graph via RoamAlphaApi) for one ...
I have a datomic query: that yields: Please note that attribute 354 is shown to be changed in history once only (to value 6). Then, if we ask fo ...
According to the datomic documentation, I have created a VPC and put my elastic beanstalk application in the same vpc as the datomic system. However, ...
I tried the following code to create a datomic database and connect to it: However, I’m getting the following error: How to fix this? ...
I'm trying to install Datomic on a Windows 10 computer, following the official instructions. I downloaded and unzipped the dev tools as instructed. ...
I am working with or clause in datomic. I know that using or in this query I get the users with :user/first-name "Mia" and users with :user/first-name ...
This is question pertaining datomic on-prem, version 1.0.6202 When I do this: I get: When I do this: I get: (which is the correct result) ...
According to Datomic's Connection documentation: Datomic connections do not adhere to an acquire/use/release pattern. They are thread-safe, cached ...