Posts by Kasio Eduardo • 47 points
5 posts
-
0
votes1
answer1565
viewsQ: Spring Boot - Changing object property names when returning JSON from the API
Good night to you guys! I have a Rest api created with spring boot + Hibernate and all that is right! Let’s imagine the following scenario: The data engineer created the database as follows…
-
0
votes1
answer301
viewsQ: Laravel - how to save if there is a change in the model
Good afternoon guys, I have a problem which is as follows would like to know if Laravel has any method to check if any changes were made before saving the model Example. table users, if the user…
-
1
votes2
answers108
viewsQ: Route envelope
In my file Routes > web.php I have the following routes: Route::get('/user', (...)); Route::get('/user/{id}', (...) ); Route::get('/user/{id}/{nome}', (...) ); // retorna o nome e id do usuário…
-
1
votes1
answer205
viewsQ: Intermediate relationship between two Laravel tables
Good evening I have the following tables in my application. Doacao -id -nome -doador_id Instituicao -id -nome Doador -id -nome I need to carry out the relationship, in a third table among the…
-
1
votes0
answers24
viewsQ: Relationship between Many to Many Laravel
Good evening, let’s say I have the following models: Donor, Donation, Institution i need to create a relationship between the donations and the Institutions INTERESTED in the donation, N…