Alias for tables not always work
Opened this issue · 0 comments
mainginski commented
Works:
Products::from('products as pp')->where('pp.name', 'LIKE', '%e%')->get();
Doesn't works:
Products::from('products pp')->where('pp.name', 'LIKE', '%e%')->get();