0

I was looking up on how to use sqllite to create and update a local db using javascript and I found this link:

SQLite database in Javascript locally

Is there any way to specify the location for the db locally? I can't see any examples for this so perhaps not.. If not then where does it created the database?

Thanks a mill, mcquaim

Community
  • 1
  • 1
mcquaim
  • 159
  • 7
  • 15
  • As far as I know you have no control over where the database is created. Different browsers already store them in different places. Are you having trouble finding the database for your application? Or is this just a general question? – Frank van Puffelen Oct 26 '13 at 14:40
  • Just a general question Frank! I am writing a little web page and I wanted to store the db in a certain directory but couldn't see how. It's it held in cache then or how does it work? – mcquaim Oct 26 '13 at 17:35
  • The workings of the database are internal to the browser. For example for Chrome the answer is here: http://stackoverflow.com/q/8936878/209103 – Frank van Puffelen Oct 26 '13 at 17:45
  • Thanks Frank! So, if that is determined by the browser then is there any way I could use a different method that I could specify the db location? – mcquaim Oct 26 '13 at 18:48
  • > As far as I know you have no control over where the database is created. – Frank van Puffelen Oct 28 '13 at 00:26

1 Answers1

0

I'm afraid it doesn't seem to be possible to specify the DB location using this method.

mcquaim
  • 159
  • 7
  • 15