Pack one row from owned cells, in column order.
(cells: &[Cell])
| 63 | |
| 64 | /// Pack one row from owned cells, in column order. |
| 65 | pub fn pack_cells(cells: &[Cell]) -> Row { |
| 66 | let mut row = Row::default(); |
| 67 | let mut packer = row.packer(); |
| 68 | for cell in cells { |
| 69 | packer.push(cell.datum()); |
| 70 | } |
| 71 | row |
| 72 | } |
| 73 | |
| 74 | /// A two-column `(bigint, text)` schema used as the default for the generators |
| 75 | /// and the script reader. |
no test coverage detected