If I understand you correctly, (this assumes you have the relationship set up in the models using hasOne(), hasMany(), or similar)
$products = Store::where('hash', Input::get('s'))->with('products')->where('ext_id', 2)->get();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community