UnionExtension<T extends OrmEntity> extension
Extension providing UNION operations and insert-from-select functionality.
- on
-
- Query<
T>
- Query<
Methods
-
insertOrIgnoreUsing(
Iterable< String> columns, Query source) → Future<int> -
Available on Query<
Inserts rows into this query's table using the results ofT> , provided by the UnionExtension extensionsource, ignoring duplicate key errors. -
insertUsing(
Iterable< String> columns, Query source, {bool ignoreConflicts = false}) → Future<int> -
Available on Query<
Inserts rows into this query's table using the results ofT> , provided by the UnionExtension extensionsource. Thecolumnslist must contain one entry per value selected bysource. -
union(
Query query) → Query< T> -
Available on Query<
Adds aT> , provided by the UnionExtension extensionUNIONclause combining the current query withquery. -
unionAll(
Query query) → Query< T> -
Available on Query<
Adds aT> , provided by the UnionExtension extensionUNION ALLclause combining the current query withquery.