Some handy db related code