Correctly state in the GetQuery comment that it gets by primary key

This commit is contained in:
Alexander Setzer authored and Michal Jan Matczuk committed 2021-05-25 15:11:26 +02:00
1 parent 01be91c745
commit a112b4c31a
1 file changed
+1 -1
+1 -1
View File
@@ -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...))
}