153
}
154
155
>
func (mdb *db) prepareRowForDB(row *sqlplugin.VisibilityRow) *sqlplugin.VisibilityRow {
visibility.go
156
>
if row == nil {
157
return nil
158
}
160
>
finalRow.StartTime = mdb.converter.ToSQLiteDateTime(finalRow.StartTime)
161
>
finalRow.ExecutionTime = mdb.converter.ToSQLiteDateTime(finalRow.ExecutionTime)
162
>
if finalRow.CloseTime != nil {
163
*finalRow.CloseTime = mdb.converter.ToSQLiteDateTime(*finalRow.CloseTime)
164
}
166
finalSearchAttributes := sqlplugin.VisibilitySearchAttributes{}
167
for name, value := range *finalRow.SearchAttributes {