uzhy1987
uzhy1987
[db executeStatements:SQL withResultBlock:^int(NSDictionary *resultsDictionary) { NSString* allName = [resultsDictionary.allValues lastObject]; allName = [allName stringByReplacingOccurrencesOfString:@"\"" withString:@""]; NSRange range1 = [allName rangeOfString:@"("]; allName = [allName substringFromIndex:range1.location+1]; NSRange range2 = [allName rangeOfString:@")"]; allName...
判断表格是否存在 增加缓存 +(BOOL)ifNotExistWillCreateTableWithObject:(id)object ignoredKeys:(NSArray* const)ignoredKeys{ //检查是否建立了跟对象相对应的数据表 NSString* tableName = [BGTool getTableNameWithObject:object]; NSCache* cache = [NSCache bg_cache]; NSString* cacheKey = [NSString stringWithFormat:@"%@_is_exist",tableName]; id isExist = [cache objectForKey:cacheKey]; if (isExist) return YES;...
**System information** - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): mac m1 - TensorFlow version and how it was installed (source or binary): binary - TensorFlow-Recommenders-Addons version and how...