如何使用Swift FMDB中的executeQuery()执行基于条件的查询

时间:2015-10-02 14:14:39

标签: swift fmdb select-query

如何在swift FMDB中执行基于条件的操作?

让结果:FMResultSet = database.executeQuery(“select * from image where id =?”,withArgumentsInArray:nil)

1 个答案:

答案 0 :(得分:0)

让结果:FMResultSet = database.executeQuery(“select * from image where id =?”,withArgumentsInArray:[“10”])