example5

command
v0.0.0-...-52cbd5f Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 6 Imported by: 0

README

Example 5

Example of a DynamicSQLReader

USAGE

mysql> source schema.sql   (make sure you read through schema.sql first)
$ go build
$ ./example5

This should do:

source1 (srcDB `users`):

	id    |  name
	------|-------
	123   |  Alex
	456   |  John
	789   |  Jane

source2 (srcDB `addresses`):

	id    |  name
	------|-------
	123   |  Austin
	456   |  Los Angeles
	789   |  San Diego

destination (dstDB `users2`):

	user_id  |  city
	---------|----------------
	456      |  Los Angeles
	789      |  San Diego

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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