Rho.Database.js: complete sync interface