|
@@ 328-330 (lines=3) @@
|
| 325 |
|
$values[$name] = $column['max_length'] > 255 ? $this->getString(2) : $this->getString(1); |
| 326 |
|
} elseif ($column['type'] === ConstFieldType::NEWDECIMAL) { |
| 327 |
|
$values[$name] = $this->getDecimal($column); |
| 328 |
|
} elseif ($column['type'] === ConstFieldType::BLOB) { |
| 329 |
|
$values[$name] = $this->getString($column['length_size']); |
| 330 |
|
} elseif ($column['type'] === ConstFieldType::DATETIME) { |
| 331 |
|
$values[$name] = $this->getDatetime(); |
| 332 |
|
} elseif ($column['type'] === ConstFieldType::DATETIME2) { |
| 333 |
|
$values[$name] = $this->getDatetime2($column); |
|
@@ 352-354 (lines=3) @@
|
| 349 |
|
$values[$name] = $this->getSet($column); |
| 350 |
|
} elseif ($column['type'] === ConstFieldType::BIT) { |
| 351 |
|
$values[$name] = $this->getBit($column); |
| 352 |
|
} elseif ($column['type'] === ConstFieldType::GEOMETRY) { |
| 353 |
|
$values[$name] = $this->getString($column['length_size']); |
| 354 |
|
} elseif ($column['type'] === ConstFieldType::JSON) { |
| 355 |
|
$values[$name] = $this->jsonBinaryDecoderFactory->makeJsonBinaryDecoder( |
| 356 |
|
$this->getString($column['length_size']) |
| 357 |
|
)->parseToString(); |