PoporFMDB 1.12

PoporFMDB 1.12

Maintained by popor.



  • By
  • popor

MyBox

PoporFMDB

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

PoporFMDB is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'PoporFMDB'

1.02 getCreateSQLS:with: 该方法检测实体是否包含id,如果包含就不创建自增id INTEGER

1.03 getCreateSQLS getInsertSQLS 针对有id类型的sql优化,

1.04 部分函数增加 返回执行结果

1.05 addPlistKey 增加检查 key 是否重复

1.07 允许修改db path

1.08 移除了 PoporFMDB 的 + (BOOL)updateEntity:(id)entity key:(NSString *)key equal:(id)value where:(NSString *)whereKey equal:(id)whereValue, 内部一个给entity赋值的多余操作.

DELETE 和 UPDATE 的 set 和 where 允许传递数组.

1.09 sql 语句 where key 增加了适应nsarray 功能. 但是要取消排序功能, 不知道为啥失效了. 修复对CGFloat参数的支持.

1.10 删除增加了 like 和 =

1.11 更新增加了 like 和 =, 查询更正了like和=逻辑

Author

wangkq, [email protected]

License

PoporFMDB is available under the MIT license. See the LICENSE file for more info.