DEV Community

Discussion on: Connecting To SQL Server from Electron & React

Collapse
 
bondi155 profile image
bondi155

Hi Abul , thank you for the post.
I have a question.. the first code of sqlservice.js
const connectToServer shows a configuration but then you show other configuration for const connectToServer , i dont urdestand that , which is the right code?

Collapse
 
abulhasanlakhani profile image
Abul Hasan Lakhani

Hi there,

I have updated the code snippets to make it more clear. And also added the full code of sqlservice.js. Also, I have updated my github repo with some minor refactoring.

Thanks a lot for reading this how to. Hope it helps you.

Collapse
 
bondi155 profile image
bondi155

Sorry i didnt see the Ellipsis (...) between { }, Thanks!