We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
源码: NSString *resultStr = nil; if ([typeStr hasPrefix:@"T@"NSString""]) { resultStr = SQL_TEXT; } else if ([typeStr hasPrefix:@"T@"NSData""]) { resultStr = SQL_BLOB; } else if ([typeStr hasPrefix:@"Ti"]||[typeStr hasPrefix:@"TI"]||[typeStr hasPrefix:@"Ts"]||[typeStr hasPrefix:@"TS"]||[typeStr hasPrefix:@"T@"NSNumber""]||[typeStr hasPrefix:@"TB"]||[typeStr hasPrefix:@"Tq"]||[typeStr hasPrefix:@"TQ"]) { resultStr = SQL_INTEGER; } else if ([typeStr hasPrefix:@"Tf"] || [typeStr hasPrefix:@"Td"]){ resultStr= SQL_REAL; }
这事明显可以将字典和数组当作text格式存储起来,然后查询的时候将text转化为相应的类型输出
The text was updated successfully, but these errors were encountered:
No branches or pull requests
源码:
NSString *resultStr = nil;
if ([typeStr hasPrefix:@"T@"NSString""]) {
resultStr = SQL_TEXT;
} else if ([typeStr hasPrefix:@"T@"NSData""]) {
resultStr = SQL_BLOB;
} else if ([typeStr hasPrefix:@"Ti"]||[typeStr hasPrefix:@"TI"]||[typeStr hasPrefix:@"Ts"]||[typeStr hasPrefix:@"TS"]||[typeStr hasPrefix:@"T@"NSNumber""]||[typeStr hasPrefix:@"TB"]||[typeStr hasPrefix:@"Tq"]||[typeStr hasPrefix:@"TQ"]) {
resultStr = SQL_INTEGER;
} else if ([typeStr hasPrefix:@"Tf"] || [typeStr hasPrefix:@"Td"]){
resultStr= SQL_REAL;
}
这事明显可以将字典和数组当作text格式存储起来,然后查询的时候将text转化为相应的类型输出
The text was updated successfully, but these errors were encountered: