Package-level declarations

Types

Link copied to clipboard
class EditorSyncRoot<U : AbstractUnit?, P : AbstractUnit?>(unitParent: P, unit: U?, edited: U?, val dropEditedUnit: Boolean, mapping: SchemaMapping?) : SyncPair<U?, P?>

Use this in editors

Link copied to clipboard
enum SyncAction : Enum<SyncAction>

Each difference may get an action: toLeft - merge in the local model, toRight - commit into the database, or noAction.

Link copied to clipboard
interface SyncDiff

A SyncNode is a pair of elements (two tables, two columns, etc.). Each pair can have some differences associated.

Link copied to clipboard

Filter the SyncDiffs.

Link copied to clipboard

A pair of two elements which are compared, and their parents. It can be two columns, foreign keys, constriants, indexes, etc. One of elements can be empty (is missing) which will result in a TableExistsDiff, ColumnExistsDiff, IndexExistsDiff, etc. The parents ( which is in most cases the schema ) is required to be able to handle the element missing differences.

Link copied to clipboard

Used to order the statements in the generated SQL script.

Link copied to clipboard
enum SyncSide : Enum<SyncSide>

Similar with the Synchronization dialog, left is for the local model, right is for the database.