Adding database api to docs