mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-06 17:32:17 +00:00
ignore client ids
This commit is contained in:
@@ -128,16 +128,18 @@ func (h *StatementHandler) SearchQuery(ctx context.Context, instanceIDs []string
|
||||
break
|
||||
}
|
||||
}
|
||||
if h.reduceScheduledPseudoEvent {
|
||||
queryBuilder.
|
||||
AddQuery().
|
||||
SequenceGreater(seq).
|
||||
InstanceID(instanceID)
|
||||
continue
|
||||
}
|
||||
queryBuilder.
|
||||
AddQuery().
|
||||
SequenceGreater(seq).
|
||||
InstanceID(instanceID)
|
||||
|
||||
if !h.reduceScheduledPseudoEvent {
|
||||
queryBuilder.
|
||||
AddQuery().
|
||||
AggregateTypes(aggregateType)
|
||||
}
|
||||
InstanceID(instanceID).
|
||||
AggregateTypes(aggregateType)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -315,6 +315,16 @@ func NewLessThanCond(column string, value interface{}) handler.Condition {
|
||||
}
|
||||
}
|
||||
|
||||
func NewContainsCond(column string, value interface{}) handler.Condition {
|
||||
return handler.Condition{
|
||||
Name: column,
|
||||
Value: value,
|
||||
ParameterOpt: func(placeholder string) string {
|
||||
return fmt.Sprintf(" @> ARRAY[%s]", placeholder)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// NewCopyStatement creates a new upsert statement which updates a column from an existing row
|
||||
// cols represent the columns which are objective to change.
|
||||
// if the value of a col is empty the data will be copied from the selected row
|
||||
|
||||
Reference in New Issue
Block a user