Correctly state in the GetQuery comment that it gets by primary key
This commit is contained in:
committed by
Michal Jan Matczuk
parent
01be91c745
commit
a112b4c31a
@@ -92,7 +92,7 @@ func (t *Table) Get(columns ...string) (stmt string, names []string) {
|
||||
ToCql()
|
||||
}
|
||||
|
||||
// GetQuery returns query which gets by partition key.
|
||||
// GetQuery returns query which gets by primary key.
|
||||
func (t *Table) GetQuery(session gocqlx.Session, columns ...string) *gocqlx.Queryx {
|
||||
return session.Query(t.Get(columns...))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user