我正在从Web上读取一个文本文件到SQLITE3数据库中。文本文件有1380行。当我在SQLITE数据库浏览器中浏览文件时,它只加载1025条记录。 这是伪代码:
//CONTROLLER.h
NSArray *lines;
@property (nonatomic, retain) NSArray *lines;
//CONTROLLER.m
NSString *response = [NSString stringWithContentsOfURL:url encoding:...
lines = [response componentsSeparatedByString:@"\r\n"];
//After reading the text file into the array
int row_count = [lines count];
int i = 1; //dont send the header row to the database
while (i<row_count-1){
NSTRing sqlString = [[NSString alloc] initWithFormat:@"INSERT OR REPLACE...
if(sqlite3_exec (pb_database,...
i++
}
SQLITE3或NSArray声明中的行数是否有限制?