[doc] adds database example to documentation, even if api is neither stable nor satisfying as it is now.