【发布时间】:2022-07-21 22:12:56
【问题描述】:
await _database!.delete(
"row",
where: "id = ?",
whereArgs: [id],
);
我想删除一个基于 ID 和 DATETIME 的条目,
类似的东西;
await _database!.delete(
"row",
where: "id = ?" && "DateTime = ?", <----- Doesn't actually work
whereArgs: [id, day],
);
我该怎么做呢? .delete 只接受一个字符串。
【问题讨论】: