The database methods are public but not safe. libbitcoin-database is intended for use by libbitcoin-blockchain, which should provide safety to its public methods. This is a performance tradeoff, as making the database methods safe generally would have a material cost.
(edited)