setWhereValues method

WhereData setWhereValues(
  1. int? ts,
  2. OperationType? operationType,
  3. int? userId,
  4. int? userTs,
  5. String? comment,
  6. int? crc,
  7. WhereData? whereData,
)

Implementation

WhereData setWhereValues(int? ts, OperationType? operationType, int? userId,
    int? userTs, String? comment, int? crc, WhereData? whereData) {
  if (whereData == null) whereData = WhereData();
  whereData.set('ts', SqlOperator.EQUAL, ts);
  whereData.set('operation', SqlOperator.EQUAL,
      OperationTypeAccess.getOperationValue(operationType));
  whereData.set('user_id', SqlOperator.EQUAL, userId);
  whereData.set('user_ts', SqlOperator.EQUAL, userTs);
  whereData.set('comment', SqlOperator.EQUAL, comment);
  whereData.set('crc', SqlOperator.EQUAL, crc);
  return whereData;
}