Asia

CodeIgniter Subquery with Alias

CodeIgniter Subquery with Alias

Tudip

24 June 2016

CI ActiveRecord does not support subquery out of the box.

NITCompass wrote this awesome library for the subquery support, which you can download from here:
https://labs.nticompassinc.com/CodeIgniter-Subqueries/

The only problem in this library is, it does NOT support aliases.
We tweaked this library and added support for the aliases. Please download this changed subquery file from our website and use it in the exact same manner as you would have used the original library and it would start supporting aliases.

Changes in the file are commented with “Changed by Tudip to support Alias” (line # 86 & 104).

Tudip Technologies

Tudip Technologies is a value-driven Software Services company. We deliver excellence in dedicated and business-centric web solutions incorporated with innovation and expertise as the tools to achieve business goals. Our high-quality, cost-effective, reliable, and scalable services have helped us build an enduring relationship with our clients and customers.

Latest Posts

  • All Posts
  • Casestudy
  • Cloud
  • Healthcare
  • Ios
  • IOT
  • Java
  • Manufacturing
  • News
  • OTT
  • Supply Chain
  • Support and Maintainance
    •   Back
    • Banking
Cloud-Powered Agility

December 27, 2024

27 December 2024 Introduction: Transforming Chaos into Opportunity Imagine a supply chain where disruptions are predicted before they occur, inventory…

Cloud-Powered Agility

December 24, 2024

Imagine a supply chain where disruptions are predicted before they occur, inventory is optimized in real-time, and every stakeholder works…

Related Posts

  • All Posts
  • Healthcare