yjp 1 год назад
Родитель
Сommit
d5708a7697
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      client/table_row.go

+ 5 - 0
client/table_row.go

@@ -17,6 +17,11 @@ func NewTableRow() *TableRow {
 	return &TableRow{row: make(map[string]any)}
 }
 
+func (tableRow *TableRow) AddColumnValue(columnName string, value any) *TableRow {
+	tableRow.row[columnName] = value
+	return tableRow
+}
+
 func (tableRow *TableRow) AddColumnValueTime(columnName string, value time.Time) *TableRow {
 	tableRow.row[columnName] = value
 	return tableRow