sql.js icon indicating copy to clipboard operation
sql.js copied to clipboard

Add eval.c

Open mikeptweet opened this issue 8 years ago • 6 comments

@dinedal

Any chance you could add the eval extension as a default?

http://www.sqlite.org/src/artifact/f971962e92ebb8b0

mikeptweet avatar Apr 08 '16 09:04 mikeptweet

Why would you need this? Why wouldn't you use the recently added possibility to attach custom javascript functions instead ?

lovasoa avatar Apr 08 '16 09:04 lovasoa

I need to evaluate a bunch of dynamic sql "within" the context of the db and while I know you can do custom functions, my existing code, which I am trying to get to run on sql.js uses the eval extension quite heavily

mikeptweet avatar Apr 08 '16 15:04 mikeptweet

It is pretty small, would be fairly easy to do but I am not yet able to merge PRs, you have to convince @lovasoa :)

dinedal avatar Apr 08 '16 15:04 dinedal

hi @dinedal ... now that you have merge permissions, any chance you could add this?

mikeptweet avatar Nov 15 '16 15:11 mikeptweet

It's on my to-do list. I'm working through the existinG issues. As long as the issue remains open I'm still in progress

dinedal avatar Nov 15 '16 17:11 dinedal

Thanks a bunch ... glad you are keeping this alive :-)

mikeptweet avatar Nov 15 '16 18:11 mikeptweet