CodeIgniter Forums

Full Version: Support subqueries in BaseBuilder::from()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
SQL databases support subqueries in FROM so it'd be great to have support for something like:
PHP Code:
$builder->from(function(BaseBuilder $builder) {
    $builder->select('*');
    $builder->from('news');
});