FMDataBase 打开sqlite的外键约束功能
摘要:
//create databaseNSString* dbPath =[(NSArray*)NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES) objectAtIndex:0];dbPath =[dbPath stringByAppendingPathComponent:@"test.db"];db =[FMDatabase databaseWithPath:dbPath];if([db open]){NSLog(@"Database %@ opened&qu 阅读全文
posted @ 2013-04-01 10:04 kiao295338444 阅读(294) 评论(0) 推荐(0) 编辑