DDSqliteManager 1.5.0

DDSqliteManager 1.5.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2019

Maintained by sanli.



 
Depends on:
FMDB>= 0
MJExtension>= 0
 

  • By
  • DDStrongman

SqliteManager

Example

对于FMDB增删改查的所有方法的封装,同时支持单线程和多线程方法(queue后缀)。
只需要传入NSDictionaryClass即可完成所有的增删改查工作。
不必再自己写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.