Skip to content

Commit 675c70d

Browse files
committed
feat(statement-result): add query field
- in order to keep record of which query generated each result
1 parent 7faabeb commit 675c70d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/db/db.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ type StatementResult struct {
4242
ColumnNames []string
4343
RowCh chan rowResult
4444
Err error
45+
Query string
4546
}
4647

4748
func newStatementResult(columnNames []string, rowCh chan rowResult) *StatementResult {

0 commit comments

Comments
 (0)