【发布时间】:2016-03-21 23:56:17
【问题描述】:
我想过滤具有多个值的同一列的结果
sql 中的示例:
SELECT * FROM myTable WHERE status = 1 AND current_condition = ("New", "Working")
这将返回来自myTable 的所有行,其中状态为 1 且 current_condition 为“New”或“Working”
如何在 SQLite.swift 中执行此操作?
【问题讨论】:
标签: swift sqlite.swift