Fixes #5004 fixed some documentation in database lib