Posts by Dênis • 56 points
2 posts
-
3
votes1
answer403
viewsA: How to know if a particular column exists in a table in Laravel?
It’s not that hard, you can just use the following code if(Schema::hasColumn('users', 'email')) ; //verifica se a tabela users tem a coluna email { $query->orderBy($coluna); } ready! If you have…
-
1
votes1
answer792
viewsA: How to find a term in a mysql database?
Friend, I found a person with the same doubt as yours. Take a look at this answer here:…