Specify explicitly that use gocqlx.Session.Qury API insteawd of the deprecated Query API
This commit is contained in:
committed by
Michal Jan Matczuk
parent
ae6d066255
commit
b79c395c11
@@ -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