Skip to content

Why better-sqlite3 cannot use relative path to create db? #1080

Answered by Prinzhorn
liaodalin19903 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think the relative path is the issue, does a db folder exist? Does new Database('./sample2.db'); (relative path) work?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@liaodalin19903
Comment options

@deadcoder0904
Comment options

Answer selected by mceachen
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
3 participants