mysql

package module
v0.0.0-...-3c03919 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLDriver

type MySQLDriver struct{}

func (MySQLDriver) Audit

func (d MySQLDriver) Audit(app config.App) error

func (MySQLDriver) BuildPlaceholders

func (d MySQLDriver) BuildPlaceholders(totalNoOfPlaceholders int, startFrom int) string

func (MySQLDriver) Connect

func (d MySQLDriver) Connect(dbConfig config.DBConfig) (*sql.DB, error)

func (MySQLDriver) DebugQuery

func (d MySQLDriver) DebugQuery(SQL string, params []any)

func (MySQLDriver) GetColumnsToSyncSQL

func (d MySQLDriver) GetColumnsToSyncSQL() string

GetColumnsToSyncSQL Params for A: original_table, schema, original_table, schema, audit_table, schema Params for D: audit_table, schema, original_table, schema, EXCLUDE COLUMNS (x4) Params for M: original_table, schema, original_table, audit_table, schema, schema

func (MySQLDriver) GetIdentifierMaxLength

func (d MySQLDriver) GetIdentifierMaxLength() int

func (MySQLDriver) Reverse

func (d MySQLDriver) Reverse(app config.App, clean bool) error

func (MySQLDriver) WrapIdentifier

func (d MySQLDriver) WrapIdentifier(identifier string) string

Jump to

Keyboard shortcuts

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