Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用字典创建一个表 #9

Open
Mohscodes opened this issue Apr 6, 2017 · 3 comments
Open

用字典创建一个表 #9

Mohscodes opened this issue Apr 6, 2017 · 3 comments

Comments

@Mohscodes
Copy link

我用字典创建一个表的时候,查不到这个表,代码如下

image

@gaojunquan
Copy link
Owner

/**
创建表 通过传入的model或dictionary(如果是字典注意类型要写对),虽然都可以不过还是推荐以下都用model

@param tableName 表的名称
@param parameters 设置表的字段,可以传model(runtime自动生成字段)或字典(格式:@{@"name":@"TEXT"})
@return 是否创建成功
*/

  • (BOOL)jq_createTable:(NSString *)tableName dicOrModel:(id)parameters;

@Mohscodes
Copy link
Author

你能写一个保存字典的例子吗?因为我试过很多都保存不成功

@dengsss
Copy link

dengsss commented Aug 23, 2017

我也是。创建表成功。插入字典一直失败。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants