import { toCacheKey } from '../utils';
import { FieldValue } from './field-value';

export class Update extends FieldValue {
  constructor(name: string, field: string, value: number) {
    super('match', `update_${field}_${toCacheKey(value)}`, name, field, value);
  }
}
