Specify explicitly that use gocqlx.Session.Qury API insteawd of the deprecated Query API

This commit is contained in:
xiang.wang authored and Michal Jan Matczuk committed 2020-05-29 12:39:24 +02:00
1 parent ae6d066255
commit b79c395c11
1 file changed
+1 -1
+1 -1
View File
@@ -98,7 +98,7 @@ type Queryx struct {
// Query creates a new Queryx from gocql.Query using a default mapper.
//
// Deprecated: Use Session API instead.
// Deprecated: Use gocqlx.Session.Query API instead.
func Query(q *gocql.Query, names []string) *Queryx {
return &Queryx{
Query: q,