<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><ahref="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a><spanclass="token punctuation">.</span><ahref="versions-key-value-repo-for-s-q-l.html"><spanclass="token function">versionsKeyValueRepoForSQL</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">database<spanclass="token operator">: </span><ahref="https://developer.android.com/reference/kotlin/android/database/sqlite/SQLiteOpenHelper.html">SQLiteOpenHelper</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="https://developer.android.com/reference/kotlin/android/database/sqlite/SQLiteOpenHelper.html">SQLiteOpenHelper</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="https://developer.android.com/reference/kotlin/android/database/sqlite/SQLiteOpenHelper.html">SQLiteOpenHelper</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/KeyValueRepo///PointingToDeclaration/">KeyValueRepo</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><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/androidMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="main-subrow keyValue WithExtraAttributes"><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></div>