Skip to content

Commit

Permalink
Correctly state in the GetQuery comment that it gets by primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
alfa-alex authored and mmatczuk committed May 25, 2021
1 parent 01be91c commit a112b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...))
}
Expand Down

0 comments on commit a112b4c

Please sign in to comment.