开发者

iPhone + SQLite3 + fetch date column

开发者 https://www.devze.com 2022-12-09 20:58 出处:网络
I am having a date column in my table and I want to fetch that开发者_如何学JAVA in iPhone application, I use following method to fetch values:

I am having a date column in my table and I want to fetch that开发者_如何学JAVA in iPhone application, I use following method to fetch values:

objPlayer.type = sqlite3_column_int(selectstmt, 1);

Now I can't find something like sqlite3_column_date.

Which is the method I can use for this purpose.


You can use sqlite3_column_text() since sqlite3_column_date() is the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消