golang working with sql server


Golang ORM for Mssql server can be found here  (GORM) and here :-

Here is the code that i used to fetch data from a table called country which has just 2 columns which are :-

a) countryid

b) countryname

Here is the code that i used to access my sql server using GORM



Here is the code that i used to access my mssql server docker running on 192.168.99.100 and database called PTS.








Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type