You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been at this for days and can't seem to figure out what I'm doing wrong, so I'm hoping someone can help.
I have a series of sql statements in my app that I previously used the mattn/go-sqlite3 to execute so I know they work syntax-wise. I decided to go with this library for concurrency purposes. The Update statements run without error but the database doesn't populate with any records as expected. They are left blank. The only clue I have is a WAL file that's left behind during the process that has a pretty big file size. Am I missing a step?
This is the function that executes the statements:
The function calls another function that pulls the connection from the pool and I check if the connection is nil. Then it executes sqlitex.ExecTransient.
I've been at this for days and can't seem to figure out what I'm doing wrong, so I'm hoping someone can help.
I have a series of sql statements in my app that I previously used the mattn/go-sqlite3 to execute so I know they work syntax-wise. I decided to go with this library for concurrency purposes. The Update statements run without error but the database doesn't populate with any records as expected. They are left blank. The only clue I have is a WAL file that's left behind during the process that has a pretty big file size. Am I missing a step?
This is the function that executes the statements:
The function calls another function that pulls the connection from the pool and I check if the connection is nil. Then it executes sqlitex.ExecTransient.
This is how I initially open the pool:
The pool size is just one connection for now.
This is an example of statement I'm trying to execute:
Like I said, this statement works in the mattn library but I feel like I'm missing something.
The text was updated successfully, but these errors were encountered: