阅读背景:

FMDB SQLite问题:查询的行数?

来源:互联网 

does anyone know how to return the count of a query when using FMDB? If I executeQuery @"select count(*) from sometable were..." I get an empty FMResultSet back. How can I get the row count of the query? Do I need to do a query like "select * from sometable where.." and iterate through the result set? Or can I use useCount or whats the best way (in terms of performance) to do this?does anyone know how to return the count of a q




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: