Specify explicitly that use gocqlx.Session.Qury API insteawd of the deprecated Query API
This commit is contained in:
1 parent
ae6d066255
commit
b79c395c11
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user