我想过滤具有多个值的同一列的结果
sql中的示例:
SELECT * FROM myTable WHERE status = 1 AND current_condition = ("New", "Working")
这将返回myTable
状态为 1 且 current_condition 为“New”或“Working”的所有行
我如何在 SQLite.swift 中执行此操作?
我想过滤具有多个值的同一列的结果
sql中的示例:
SELECT * FROM myTable WHERE status = 1 AND current_condition = ("New", "Working")
这将返回myTable
状态为 1 且 current_condition 为“New”或“Working”的所有行
我如何在 SQLite.swift 中执行此操作?