Welcome Guest, Not a member yet? Register   Sign In
MySQL UNION statement and Query Builder?
#1

(This post was last modified: 10-23-2020, 02:06 PM by mlurie.)

Is there any way to write a MySQL UNION statement with Query Builder?  I have reviewed the documentation and cannot find the answer.
Reply
#2

PHP Code:
$this->db->query(); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

Since v4.2.0 you can use UNION with Query Builder.
See https://codeigniter4.github.io/CodeIgnit...lder-union
Reply




Theme © iAndrew 2016 - Forum software by © MyBB