union 方法较简单,支持一个参数,用户指定union的表名,也没有从属on方法,并且只支持find查询方法。
union用于表结构相同的多个表。
$db->table1->union('table2')->union('table3')->find()