159
}
160
161
>
func (pdb *db) prepareRowForDB(row *sqlplugin.VisibilityRow) *sqlplugin.VisibilityRow {
visibility.go
162
>
if row == nil {
163
return nil
164
}
166
>
finalRow.StartTime = pdb.converter.ToPostgreSQLDateTime(finalRow.StartTime)
167
>
finalRow.ExecutionTime = pdb.converter.ToPostgreSQLDateTime(finalRow.ExecutionTime)
168
>
if finalRow.CloseTime != nil {
169
*finalRow.CloseTime = pdb.converter.ToPostgreSQLDateTime(*finalRow.CloseTime)
170
}
172
saMap := *finalRow.SearchAttributes
173
for name, value := range saMap {