Skip to content

2.1.0

Compare
Choose a tag to compare
@mmatczuk mmatczuk released this 19 Jun 09:17
· 78 commits to master since this release

This release adds Query and QueryContext functions to query builder and table modules.
It simplifies query creation, instead of

	stmt, names := qb.Select("cluster").Columns("id").ToCql()
	q := gocqlx.Query(session.Query(stmt), names)

one can now write

	q := qb.Select("cluster").Columns("id").Query(session)