ios - 核心数据元数据获取错误

标签 ios sqlite core-data

在我的 IOS 应用程序中,在声明中

 NSDictionary *x = [NSPersistentStoreCoordinator 
     metadataForPersistentStoreOfType:NSSQLiteStoreType 
     URL:<url> error:&error];

我收到以下错误并且 x 为零:

"SQLite error code:3850, 'not an error' errno:9"

这是什么意思?

最佳答案

可能是

#define SQLITE_INTERRUPT    9   /* Operation terminated by sqlite3_interrupt()*/

( Source )

关于ios - 核心数据元数据获取错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18414822/

相关文章:

node.js - Nodejs同步调用: getting db callback and parse it to frontend

android - 使用 SimpleCursorAdapter 从 Cursor 更改值

sql - SQL 标准对 SQL UNION/EXCEPT/INTERSECT 语句中的括号有何规定?

iphone - 删除核心数据中的对象

ios - 禁用 "..."截断 UITextField

iphone - 只能旋转一次UIImageView

ios - 我可以使用 Visual Studio 自动增加 Info.plist 文件中的 CFBundleVersion 值吗?

ios - 从 swift 派生的 obj-c 类的类别

ios - 核心数据 : Additional object inserted into Managed Object Context after restarting App

ios - 在 Core Data 上创建关键字结构并搜索那个大动物