Liking cljdoc? Tell your friends :D
Clojure only.

datahike.experimental.gc


gc!clj

(gc! db)
(gc! db remove-before)

Invokes garbage collection on the database by whitelisting currently known branches. All db snapshots on these branches before remove-before date will also be erased (defaults to beginning of time [no erasure]). The branch heads will always be retained.

Invokes garbage collection on the database by whitelisting currently known branches.
All db snapshots on these branches before remove-before date will also be
erased (defaults to beginning of time [no erasure]). The branch heads will
always be retained.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close