是否可以使用SQLite.swift创建列表达式数组?
static let COLUMN_PARTNER_ID = Expression<String>(COLUMN_NAME_PARTNER_ID)
static let COLUMN_COMPANY_ID = Expression<String>(COLUMN_NAME_COMPANY_ID)
static let COLUMN_USER_ID = Expression<String>(COLUMN_NAME_USER_ID)
//this does not work
let columns:Array<Expression<Any>> = [COLUMN_PARTNER_ID, COLUMN_COMPANY_ID, COLUMN_USER_ID]
我的目标是创建一个处理通用查询的基类。