Remove model for a method that satisfies an interface that already has its own model.

This commit is contained in:
Slavomir
2020-09-20 15:37:48 +02:00
parent 3fd6f9c400
commit 5e7b279569

View File

@@ -26,10 +26,6 @@ module SQL {
FunctionOutput outp;
SqlMethodModels() {
// signature: func (*NullString).Scan(value interface{}) error
this.hasQualifiedName("database/sql", "NullString", "Scan") and
(inp.isParameter(0) and outp.isReceiver())
or
// signature: func (*Row).Scan(dest ...interface{}) error
this.hasQualifiedName("database/sql", "Row", "Scan") and
(inp.isReceiver() and outp.isParameter(_))