DBServer: Add return codes to single object query