selahattinunlu / laravel-api-query-builder

Laravel & Lumen Api Query Builder Package
331 stars 66 forks source link

Add Exception for empty columns and columns that doesn't exists in schema #6

Closed lobosg closed 7 years ago

lobosg commented 8 years ago

I added an exception when you put nothing in (columns=) to avoid an SQLState , and added a throw exception when columns in (columns=id,foo) doesn't exists in the schema