Basic database interaction methods