File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,19 +36,20 @@ type (
36
36
// This means that the ';' character should NOT be used within any of the statements.
37
37
Statements () string
38
38
39
- // Parameters returns a slice of the parameters to be interleaved across all sql returns by Statements().
39
+ // Parameters returns a slice of the parameters to be interleaved across all SQL
40
+ // returned from Statements().
40
41
Parameters () []any
41
42
}
42
43
43
- // RowsAffected provides an (optional) hook for a type implemented Script to receive
44
+ // RowsAffected provides an (optional) hook for a type implementing Script to receive
44
45
// the number of rows affected by executing a statement provided by a Script. It is
45
46
// called for each statement that doesn't result in an error.
46
47
RowsAffected interface {
47
48
RowsAffected (uint64 )
48
49
}
49
50
50
51
// Query represents a SQL statement that is expected to provide rows as a result.
51
- // Rows are fed to the Scan method.
52
+ // Rows are provided to the Scan method.
52
53
Query interface {
53
54
// Statement returns a string containing a single SQL query.
54
55
Statement () string
You can’t perform that action at this time.
0 commit comments