有没有一种简单的方法可以将executeQuery:SELECT*...的FMDB结果轻松放入字典中?FMResultSet*appointmentResults=[[DataClassgetDB]executeQuery:@"SELECT*FROMAppointmentsWHEREdate=?",currDateString];while([appointmentResultsnext]){//Createdictionary//Adddictionarytoarrayforlateruse}我想知道是否有一种方法可以让字典键成为列名,而值成为列值。最好不必在while内循环遍历每一
有没有一种简单的方法可以将executeQuery:SELECT*...的FMDB结果轻松放入字典中?FMResultSet*appointmentResults=[[DataClassgetDB]executeQuery:@"SELECT*FROMAppointmentsWHEREdate=?",currDateString];while([appointmentResultsnext]){//Createdictionary//Adddictionarytoarrayforlateruse}我想知道是否有一种方法可以让字典键成为列名,而值成为列值。最好不必在while内循环遍历每一