yjp 1 жил өмнө
parent
commit
d5708a7697

+ 5 - 0
client/table_row.go

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