Move platform-specific code into src-node.
This commit is contained in:
parent
c4f5564b35
commit
cc25ce33e2
4 changed files with 0 additions and 9 deletions
|
@ -35,12 +35,3 @@
|
||||||
(->
|
(->
|
||||||
(.open sqlite.DB path (clj->js {:mode mode}))
|
(.open sqlite.DB path (clj->js {:mode mode}))
|
||||||
(.then ->SQLite3Connection))))
|
(.then ->SQLite3Connection))))
|
||||||
|
|
||||||
(extend-protocol s/ISQLiteConnectionFactory
|
|
||||||
string
|
|
||||||
(<sqlite-connection [path]
|
|
||||||
(open path))
|
|
||||||
|
|
||||||
object ;; TODO: narrow this to the result of node-tempfile/tempfile.
|
|
||||||
(<sqlite-connection [tempfile]
|
|
||||||
(open (.-name tempfile))))
|
|
Loading…
Reference in a new issue