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

fl_dropTable 无用 #3

Open
Rain-dew opened this issue Apr 22, 2019 · 1 comment
Open

fl_dropTable 无用 #3

Rain-dew opened this issue Apr 22, 2019 · 1 comment

Comments

@Rain-dew
Copy link

我尝试插入数据的时候会有 2019-04-22 15:43:13.428 Demo[64742:5781593] The FMDatabase <FMDatabase: 0x79e77f10> is not open.
2019-04-22 15:43:13.429 Demo[64742:5781592] The FMDatabase <FMDatabase: 0x79e77f10> is not open.
2019-04-22 15:43:13.429 Demo[64742:5781592] -----------------<NSThread: 0x7b038a90>{number = 3, name = (null)}
2019-04-22 15:43:13.504 Demo[64742:5781592] The FMDatabase <FMDatabase: 0x79e77f10> is not open.
这样的日志打印,删除表fl_dropTable也没有反应

@Rain-dew
Copy link
Author

TestModel *model = [TestModel new];
model.age = 27;
model.name = @"王五";
model.height = 1.80;
model.FLDBID = @"1002";
model.FLDBID2 = @"测试";

FLFMDBQueueManager *ma = [FLFMDBQueueManager shareManager:@"raindew"];

[ma fl_createTable:[TestModel class] complete:^(FLFMDBQueueManager *manager, BOOL flag) {

}];

[ma fl_insertModel:@[model] complete:^(FLFMDBQueueManager *manager, BOOL flag) {

}];

//
[ma fl_dropTable:[TestModel class] complete:^(FLFMDBQueueManager *manager, BOOL flag) {

}];

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

1 participant