Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
database/sql: Result interface's methods should be documented #5110
Says Nate Finch: "There's no documentation about the methods on Result. There really should be... especially LastInsertId... I don't even know what that might be for. RowsAffected is pretty self explanatory, except for the error. When would it return an error? Would it only be if the Exec returned an error, or can RowsAffected return an error even if the Exec didn't? (I know it's implementation specific, but there should be guidelines for when it is supposed to return errors)."