uepg/laravel-sybase

Alias for tables not always work

Opened this issue · 0 comments

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();