push 6 in 6 milestones

This commit is contained in:
Elio Bischof
2023-06-29 14:28:27 +02:00
parent ad13a65d1d
commit 3a338cdb44
3 changed files with 39 additions and 23 deletions

View File

@@ -290,7 +290,17 @@ func NewIsNullCond(column string) handler.Condition {
return handler.Condition{
Name: column,
ParameterOpt: func(string) string {
return fmt.Sprintf("%s IS NULL", column)
return " IS NULL"
},
}
}
func NewNotEqualCond(column, value string) handler.Condition {
return handler.Condition{
Name: column,
Value: value,
ParameterOpt: func(param string) string {
return fmt.Sprintf(" != %s", param)
},
}
}

View File

@@ -100,13 +100,13 @@ func NewProjectionHandler(
reduceScheduledPseudoEvent: reduceScheduledPseudoEvent,
}
go func() {
go func(subscribe bool) {
<-initialized
if !h.reduceScheduledPseudoEvent {
if subscribe {
go h.subscribe(ctx)
}
go h.schedule(ctx)
}()
}(!h.reduceScheduledPseudoEvent)
return h
}