Database CRUD operations integration | 211221
211221
Database CRUD operations integration
Working to get the CRUD operation working correctly with the GORM and the database.
Create (AddServer)
Auto increment is on for gorm
Update
Get {id}
Note that the model object has been added to the server model but is only turn on in the json for the update/delete testing
Update
Delete
Note that Server is not in that array, but still in the database
Get (Get all)
Get all Servers which will probably be the most used and really the only one that will needed the most at this time, there others are there for future use.
_