We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeedb7b commit a83ae65Copy full SHA for a83ae65
1 file changed
result.go
@@ -1,8 +1,16 @@
1
package clickhouse
2
3
-import "errors"
+import (
4
+ "fmt"
5
+)
6
7
type result struct{}
8
-func (*result) LastInsertId() (int64, error) { return 0, errors.New("LastInsertId is not supported") }
-func (*result) RowsAffected() (int64, error) { return 0, errors.New("RowsAffected is not supported") }
9
+func (*result) LastInsertId() (int64, error) {
10
+ fmt.Printf("[NOTSUPPORTED] LastInsertId is not supported")
11
+ return 0, nil
12
+}
13
+func (*result) RowsAffected() (int64, error) {
14
+ fmt.Printf("[NOTSUPPORTED] RowsAffected is not supported")
15
16
0 commit comments