mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-05 09:52:03 +00:00
push 6 in 6 milestones
This commit is contained in:
@@ -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)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user