Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro.labad committed Aug 27, 2020
1 parent f6c6a03 commit b4eacd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (c *Conn) Close() error {
return releaseHandle(h)
}

//Query method executes the statement directly if no params present, or as prepared statement
//Query method executes the statement with out prepare if no args provided, and a driver.ErrSkip otherwise (handled by sql.go to execute usual preparedStmt)
func (c *Conn) Query(query string, args []driver.Value) (driver.Rows, error) {
if len(args) > 0 {
// Not implemented for queries with parameters
Expand Down

0 comments on commit b4eacd8

Please sign in to comment.