Skip to content

Commit

Permalink
don't need
Browse files Browse the repository at this point in the history
  • Loading branch information
huahaiy committed Sep 24, 2020
1 parent 713a9ed commit 2b2e22e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datalevin/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@

; Changing DB

(defn with
(defn ^:no-doc with
"Same as [[transact!]]. Returns transaction report (see [[transact!]])."
([db tx-data] (with db tx-data nil))
([db tx-data tx-meta]
Expand All @@ -204,7 +204,7 @@
:tx-meta tx-meta}) tx-data)))


(defn db-with
(defn ^:no-doc db-with
"Applies transaction. Return the db."
[db tx-data]
{:pre [(db/db? db)]}
Expand Down

0 comments on commit 2b2e22e

Please sign in to comment.