yjp 1 år sedan
förälder
incheckning
9d92abd579
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      db_operations/table_row.go

+ 4 - 0
db_operations/table_row.go

@@ -69,6 +69,10 @@ func (tableRow *TableRow) ToMap() map[string]any {
 	return tableRow.row
 }
 
+func (tableRow *TableRow) Len() int {
+	return len(tableRow.row)
+}
+
 func (tableRow *TableRow) AddColumnValueTime(columnName string, value time.Time) *TableRow {
 	tableRow.row[columnName] = value
 	return tableRow