Main menu

query builder

FuelPHP - Nested queries using query builder

Published by dnovikov on Thu, 05/30/2013 - 10:16

Once I've needed to do a "WHERE IN (SELECT * ...) filter in my query. The intention was to use FuelPHP's query builder. After some googling, which gave no results, I've started some dumb experiements in code. Here is what I achieved, the solution seems to work perfect:

 

<?php