Database functionality in peer–to