indexed-db retrieve sample