queryOne method
根据id,查询一个
Implementation
@override
Future<T?> queryOne(Object arg, [String? tableName]) async {
List<T> items = await query(tableName: tableName, where: "$_primaryKey = ?", whereArgs: [arg]);
return items.isNotEmpty ? items.first : null;
}