Is it possible with Active Record? |
(03-19-2016, 11:39 AM)fulopm Wrote: Simple with query bindings (without AR or QB): PHP Code: $sql = "SELECT id, fullname, phone FROM users WHERE country=(SELECT country_id FROM country WHERE name=?) AND type=?"; Query Bindings |
Messages In This Thread |
Is it possible with Active Record? - by fulopm - 03-19-2016, 11:39 AM
RE: Is it possible with Active Record? - by arma7x - 03-19-2016, 02:06 PM
RE: Is it possible with Active Record? - by ardhie1032 - 03-19-2016, 03:29 PM
RE: Is it possible with Active Record? - by fulopm - 03-19-2016, 03:39 PM
RE: Is it possible with Active Record? - by arma7x - 03-20-2016, 03:16 PM
RE: Is it possible with Active Record? - by fulopm - 03-21-2016, 12:06 PM
RE: Is it possible with Active Record? - by arma7x - 03-21-2016, 12:34 PM
|