local-sqlite-example icon indicating copy to clipboard operation
local-sqlite-example copied to clipboard

File read and write after every operation?

Open devat19 opened this issue 6 years ago • 2 comments

I don't think this issue is related to your repo, but related to sql.js. I am using sql.js and can't fathom the fact that after every write, you have to do a complete write to the parent file. Am i wrong or missing something? Is it normal in sqlite?

devat19 avatar Jan 27 '20 12:01 devat19

Can you please provide a code example? Which of the API methods are you referring to? Just to guess at what you're meaning...It's true that when using TRANSACTIONS you have to COMMIT or ROLLBACK.

patrickmoffitt avatar Jan 27 '20 12:01 patrickmoffitt

Not an issue.

patrickmoffitt avatar Jan 28 '20 12:01 patrickmoffitt