added db::attempt

do a query without triggering an error if it fails