UnionExtension<T extends OrmEntity> extension

Extension providing UNION operations and insert-from-select functionality.

on

Methods

insertOrIgnoreUsing(Iterable<String> columns, Query source) Future<int>

Available on Query<T>, provided by the UnionExtension extension

Inserts rows into this query's table using the results of source, ignoring duplicate key errors.
insertUsing(Iterable<String> columns, Query source, {bool ignoreConflicts = false}) Future<int>

Available on Query<T>, provided by the UnionExtension extension

Inserts rows into this query's table using the results of source. The columns list must contain one entry per value selected by source.
union(Query query) Query<T>

Available on Query<T>, provided by the UnionExtension extension

Adds a UNION clause combining the current query with query.
unionAll(Query query) Query<T>

Available on Query<T>, provided by the UnionExtension extension

Adds a UNION ALL clause combining the current query with query.