packages/ztd-query-core/src/Schema/RowSet.php
1<?php
2
3declare(strict_types=1);
4
5namespace ZtdQuery\Schema;
6
7/**
8 * Immutable snapshot of rows received from a driver or fixture provider.
9 *
10 * The core preserves column values until a platform interprets them.
11 *
12 * @phpstan-import-type Row from TableDefinition
13 */
14final class RowSet
15{
16 /**
17 * @param array<int, Row> $rows Rows with their original keys and values.
18 */
19 public function __construct(public readonly array $rows = [])
20 {
21 }
22}
23