From a112b4c31a2b97ab07420d7dd48a3fa455467e99 Mon Sep 17 00:00:00 2001 From: Alexander Setzer Date: Tue, 25 May 2021 14:54:52 +0200 Subject: [PATCH] Correctly state in the GetQuery comment that it gets by primary key --- table/table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/table.go b/table/table.go index 0c708e8..0ead82d 100644 --- a/table/table.go +++ b/table/table.go @@ -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...)) }