dbutil

package
v2.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL