Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 4f7bfc1

Browse files
committed
better comment
1 parent 62d8759 commit 4f7bfc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform/database_common/log_manager.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ func (lm *LogManager) ResolveIndexPattern(ctx context.Context, schema schema.Reg
200200
return util.Distinct(results), nil
201201
}
202202

203-
// buildStringOfCountQuery builds query string which will be sent to DB
203+
// buildStringOfCountQuery builds string of count query which will be sent to DB (for 1 table).
204+
// If we query multiple tables at once, it needs to be called multiple times.
204205
// Takes care whether `table` is "normal" or virtual
205206
func (lm *LogManager) buildStringOfCountQuery(table *Table) string {
206207
if table.VirtualTable {

0 commit comments

Comments
 (0)