-
I'm having some problems with
;; Test for bad match
(def test-id :testing-with-keys)
(repo/tx *node* [[:crux.tx/put {:crux.db/id test-id :test "1234"}]])
(repo/get *node* test-id)
(repo/tx *node* [[:crux.tx/match test-id]
[:crux.tx/delete test-id]])
(repo/get *node* test-id)
(repo/tx *node* [[:crux.tx/delete test-id]])
(repo/get *node* test-id) The result: clj꞉betterbelly.entries.mutations꞉>
#:crux.tx{:tx-id 974, :tx-time #inst "2021-03-12T01:51:54.727-00:00"}
clj꞉betterbelly.entries.mutations꞉>
{:crux.db/id :testing-with-keys, :test "1234"}
clj꞉betterbelly.entries.mutations꞉>
#:crux.tx{:tx-id 975, :tx-time #inst "2021-03-12T01:52:00.847-00:00"}
clj꞉betterbelly.entries.mutations꞉>
{:crux.db/id :testing-with-keys, :test "1234"}
clj꞉betterbelly.entries.mutations꞉>
#:crux.tx{:tx-id 976, :tx-time #inst "2021-03-12T01:52:04.138-00:00"}
clj꞉betterbelly.entries.mutations꞉>
nil repo is just a wrapper around the crux api's. No magic happening there. |
Beta Was this translation helpful? Give feedback.
Answered by
Aleksion
Mar 12, 2021
Replies: 1 comment
-
This was a mistake on my part:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jarohen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was a mistake on my part: