Added Gitlab::SQL::Union class
This class can be used to join multiple AcitveRecord::Relation objects together using a SQL UNION statement. ActiveRecord < 5.0 sadly doesn't support UNION and existing Gems out there don't handle prepared statements (e.g. they never incremented the variable bindings).
Showing
lib/gitlab/sql/union.rb
0 → 100644
Please register or sign in to comment