deleteById method

Future deleteById({
  1. required String table,
  2. required int rowid,
})

删除一个数据, 通过rowid

table 表名 rowid 行ID

返回删除的行数

Implementation

Future deleteById({required String table, required int rowid}) async {
  return deleteLine('delete from $table where rowid=$rowid');
}