在 SQLite Swift 中有多少种方法可以进行 CRUD 操作? [英] How many way are there to do CRUD operation in SQLite Swift?

查看:22
本文介绍了在 SQLite Swift 中有多少种方法可以进行 CRUD 操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑,当我在 SQLite 中进行 CRUD 操作时.因为有人对我说你可以用 FMDB 库做 CRUD 操作,有人说是 GRDB 所以,我的问题是,在 SQLite 中有多少种方法可以做 CRUD 操作?哪种方法是正确的?

I am very confuse, when I do CRUD operation in SQLite. Because somebody say to me you can do CRUD operation with FMDB library, Some say GRDB So, my question is, How many way are there to do CRUD operation in SQLite ? and which is the right way to do this ?

推荐答案

我认为 GRDB 是解决此问题的正确方法.GRDB 也比 FMDB 和 SQLite.swift 快非常容易获取数据请参阅此链接 - https://github.com/groue/GRDB.swift

I think GRDB is the right way to do this. GRDB is faster than FMDB and SQLite.swift also really easy to fetch data Refer this link - https://github.com/groue/GRDB.swift

这篇关于在 SQLite Swift 中有多少种方法可以进行 CRUD 操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆