Documentation ¶
Overview ¶
Package dbutil provides various utilities built on top of core gocqlx modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RewriteTable ¶
func RewriteTable(session gocqlx.Session, dst, src *table.Table, transform func(map[string]interface{}), options ...func(q *gocqlx.Queryx)) error
RewriteTable rewrites src table to dst table. Rows can be transformed using the transform function. If row map is empty after transformation the row is skipped. Additional options can be passed to modify the insert query.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.