genegraph.database.util

Utility functions used by other components of genegraph.database
should not generally be used directly by code outside this namespace

*in-tx*

dynamic

property

(property uri)

select

(select query-str)

tx

macro

(tx & body)

with-test-database

macro

(with-test-database & form)
Uses with-redefs to replace reference to production database with temporary,
empty in-memory database. Useful for running unit tests.

write-tx

macro

(write-tx & body)