sqldiff

package module
v0.0.0-...-1d2b5e3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 3 Imported by: 0

README

go-sqldiff

Golang wrapper around sqldiff. Currently requires sqldiff to be installed, but the goal is to provide a native implementation without dependencies.

Dependencies

Fedora
dnf install sqlite-tools
macOS
brew install sqldiff

Usage

diffs, err := sqldiff.Compare("/tmp/source.db", "/tmp/target.db")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(sourceDatabasePath string, targetDatabasePath string) ([]string, error)

Returns SQL queries that would transform source database to target database

Types

This section is empty.

Jump to

Keyboard shortcuts

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