From b4eacd8e3e35e1ce8ec7e22e734ab8e451d56c86 Mon Sep 17 00:00:00 2001 From: "alejandro.labad" Date: Thu, 27 Aug 2020 12:44:55 +0200 Subject: [PATCH] Improve comment --- conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn.go b/conn.go index 4d25cb4..658411d 100644 --- a/conn.go +++ b/conn.go @@ -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