Run Left Join With Using |
[eluser]Unknown[/eluser]
I need to run this statement with Active Record, but I do not know how to use: Code: SELECT a.id, a.desc
[eluser]CodeIgniteMe[/eluser]
Code: $this->db->select('a.id, a.desc') Also take note, old-style/traditional join is better than the joins available now simply because, not all SQL driven databases support/ has the same syntax of joins, and all (theoretically) SQL driven databases support old-style/traditional joins
[eluser]jmadsen[/eluser]
Fine to use Active Record, but why do you feel you need it? http://ellislab.com/codeigniter/user-gui...mples.html |
Welcome Guest, Not a member yet? Register Sign In |