package
Version:
v0.4.74
Opens a new window with list of versions in this module.
Published: Oct 3, 2024
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func BuildInsertQuery(logger *slog.Logger, driver, schema, table string, columns []string, ...) (sql string, args []any, err error)
-
func BuildSelectLimitQuery(driver, table string, limit uint) (string, error)
-
func BuildSelectQuery(driver, table string, columns []string, whereClause *string) (string, error)
-
func BuildTruncateQuery(driver, table string) (string, error)
-
func BuildUpdateQuery(driver, schema, table string, insertColumns []string, whereColumns []string, ...) (string, error)
-
type SubsetColumnConstraint
-
type SubsetReferenceKey
func BuildInsertQuery(
logger *slog.Logger,
driver, schema, table string,
columns []string,
columnDataTypes []string,
values [][]any,
onConflictDoNothing *bool,
columnDefaultProperties []*neosync_benthos.ColumnDefaultProperties,
) (sql string, args []any, err error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.