SqliteManager
Example
对于FMDB增删改查的所有方法的封装,同时支持单线程和多线程方法(queue后缀)。
只需要传入NSDictionary或Class即可完成所有的增删改查工作。
不必再自己写SQL,详细使用方法请参考.h文件,好用请给star,不好用欢迎提建议~
栗子时间:
/**
另起线程根据模型添加数据入库,重复情况delegate返回失败,delegate通知异步处理结果
@param tName 表名
@param dataClass 数据的模型类
*/
- (void)insertTableObjQueue:(NSString *)tName
DataModel:(Class)dataClass
Installation
SqliteManager is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DDSqliteManager"
Author
DDStrongman, [email protected]
License
SqliteManager is available under the MIT license. See the LICENSE file for more info.