CodeIgniter Forums
With Block For SQL Queries - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: With Block For SQL Queries (/showthread.php?tid=63445)



With Block For SQL Queries - mertdogan - 10-31-2015

SELECT, INSERT, UPDATE, and DELETE statements can have "WITH " block:

https://technet.microsoft.com/en-us/library/aa213026(v=sql.80).aspx

By this option; we have more control over queries like transactions.

You may add this availability to the ->FROM() function of Database Class.