insertOrUpdate method

Future<bool> insertOrUpdate(
  1. T entity
)

插入一条数据,如果主键存在就更新该条数据

Implementation

Future<bool> insertOrUpdate(T entity) async => false;