菜鸟教程小白 发表于 2022-12-12 16:06:08

ios - iOS 上内存数据库中的 sqlite


                                            <p><p>在 iOS 中是否可以在内存中有一个 sqlite 数据库?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>这在 iOS 中的工作方式与您预期的一样 - 您可以简单地使用 <code>:memory:</code> 而不是文件名 <a href="http://www.sqlite.org/inmemorydb.html" rel="noreferrer noopener nofollow">as per usual</a> 打开内存数据库。 . </p>

<p>也就是说,由于可用内存级别较低,您显然需要了解正在使用的内存量。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - iOS 上内存数据库中的 sqlite,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/5605752/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/5605752/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - iOS 上内存数据库中的 sqlite