db

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DuckdbUpMigration string

Functions

func RowsToCSV

func RowsToCSV(rows *sql.Rows) (string, error)

RowsToCSV converts sql.Rows rows to a CSV string.

func RunMigration

func RunMigration(conn *sql.DB) error

RunMigration executes the migration string on the DuckDB connection. Returns an error, if any.

func String

func String(str string) string

String internally quotes a string for use in a SQL query.

Types

This section is empty.

Jump to

Keyboard shortcuts

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