Skip to content

Commit 964b677

Browse files
authored
Apply suggestion from @EnriqueL8
Signed-off-by: Enrique Lacal <[email protected]>
1 parent c941898 commit 964b677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ffapi/restfilter_json_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func (qb *queryBuilderImpl) Or(q ...QueryBuilder) QueryBuilder {
213213
return qb
214214
}
215215

216-
// Or creates an AND condition between multiple queries
216+
// And creates an AND condition between multiple queries
217217
func (qb *queryBuilderImpl) And(q ...QueryBuilder) QueryBuilder {
218218
for _, child := range q {
219219
qb.statements.And = append(qb.statements.And, child.(*queryBuilderImpl).statements)

0 commit comments

Comments
 (0)