<divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="versions-key-value-repo.html">T</a><spanclass="token operator">></span><ahref="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a><spanclass="token punctuation">.</span><ahref="versions-key-value-repo.html"><spanclass="token function">versionsKeyValueRepo</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">database<spanclass="token operator">: </span><ahref="versions-key-value-repo.html">T</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="dev.inmo.micro_utils.repos.versions/VersionsRepo///PointingToDeclaration/">VersionsRepo</span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="versions-key-value-repo.html">T</a><spanclass="token operator">></span></div><pclass="paragraph">Will create <spandata-unresolved-link="dev.inmo.micro_utils.repos.versions/VersionsRepo///PointingToDeclaration/">VersionsRepo</span> based on <ahref="versions-key-value-repo.html">T</a>, but versions will be stored in <spandata-unresolved-link="dev.inmo.micro_utils.repos/KeyValueRepo///PointingToDeclaration/">KeyValueRepo</span></p><spanclass="kdoc-tag"><h4class="">Receiver</h4><pclass="paragraph">Will be used to create <spandata-unresolved-link="dev.inmo.micro_utils.repos.versions/KeyValueBasedVersionsRepoProxy///PointingToDeclaration/">KeyValueBasedVersionsRepoProxy</span> via <ahref="../dev.inmo.micro_utils.repos.keyvalue/key-value-store.html">keyValueStore</a> and pass it to <spandata-unresolved-link="dev.inmo.micro_utils.repos.versions/StandardVersionsRepo///PointingToDeclaration/">StandardVersionsRepo</span></p></span><h4class="">See also</h4><divclass="table"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/androidMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><spandata-unresolved-link="dev.inmo.micro_utils.repos.versions/KeyValueBasedVersionsRepoProxy///PointingToDeclaration/"><span>Key</span><wbr></wbr><span>Value</span><wbr></wbr><span>Based</span><wbr></wbr><span>Versions</span><wbr></wbr><span>Repo</span><wbr></wbr><span><span>Proxy</span></span></span></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/androidMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../dev.inmo.micro_utils.repos.keyvalue/key-value-store.html"><span>key</span><wbr></wbr><span>Value</span><wbr></wbr><span><span>Store</span></span></a></div></span></div><div></div></div></div></div></div></div>