Can Anyone Send Me Simple Insert Update Delete Query With Sqlite Using Go.
What have you tried so far and how is it not working?
I don’t have a specific resource for you, but I use go and sqlite3 frequently.
Follow the Go database/sql tutorial to learn about general database use in Go. It uses MySQL as an example, but the sql is probably basic enough to transfer directly to sqlite.
Also, sqlite has great documentation. I start from https://sqlite.org/lang.html to figure out syntax, features, etc.
General questions like this are difficult to answer because we don’t know where you are coming from or what you already know. Explaining what you are trying to do, what you have done, what happened, and how what happened isn’t what you want to have happen will help us help you.
Neither golang, nor interface, specific, but sqlite3 may be used for cookies’ files.
As you asked for something simple copying in the above example a cookies.sqlite file and performing your operations (insert, update, delete, query) on such a copied file, readily available and already present on certain OSes, might be suitable for such operations.
Prepared just for you @Rockstarr : https://github.com/dipakyadav/sqlite-crud-with-golang
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.