Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to support FTS3 or FTS4 extensions? #68

Closed
lsmag opened this issue Nov 1, 2014 · 4 comments
Closed

Any plans to support FTS3 or FTS4 extensions? #68

lsmag opened this issue Nov 1, 2014 · 4 comments

Comments

@lsmag
Copy link

lsmag commented Nov 1, 2014

Hi,

I downloaded sql.js for an atom-shell application I'm building and it was almost just perfect, since I tried to download sqlite3 using apm and had some issues with node-pre-gyp. The only downside I have is that I need to use the full-text extensions sqlite offers, FTS3 or FTS4.

Is there any plans to add those extensions? Or there's another way to somehow install them?

@lovasoa
Copy link
Member

lovasoa commented Nov 2, 2014

Yes, you can clone the source of sql.js, add -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS to the makefile, run make, and voilà!

@lsmag
Copy link
Author

lsmag commented Nov 2, 2014

Really? Awesome :D ... now just a question, is there a reason why isn't it enabled by default?

@lovasoa
Copy link
Member

lovasoa commented Nov 2, 2014

That's a question of size of the js file. It's already huge.

But we should write a tutorial on the wiki about how to activate different compilation options.

Le 2 novembre 2014 17:23:49 UTC+01:00, lsmag notifications@github.com a écrit :

Really? Awesome :D ... now just a question, is there a reason why isn't
it enabled by default?


Reply to this email directly or view it on GitHub:
https://github.com/kripken/sql.js/issues/68#issuecomment-61412755

@lsmag
Copy link
Author

lsmag commented Nov 3, 2014

Ok, thanks a lot for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants