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

WHERE and other features for SELECT, INSERT, etc. #1

Open
Narigo opened this issue Aug 27, 2013 · 3 comments
Open

WHERE and other features for SELECT, INSERT, etc. #1

Narigo opened this issue Aug 27, 2013 · 3 comments

Comments

@Narigo
Copy link
Member

Narigo commented Aug 27, 2013

Right now, the SELECT and INSERT commands can only construct very simple SQL statements, since we couldn't find a nice library that produces SQL from JSON. Writing our own would be quite complex - if someone knows a good library or wants to volunteer on writing a nicer version, please add pull requests :)

@rowanseymour
Copy link

Would be very useful to hear what workarounds people are using until this feature is implemented

@Narigo
Copy link
Member Author

Narigo commented May 16, 2014

You can always use the "raw" command and write the queries you need.
Am 16.05.2014 08:28 schrieb "Rowan Seymour" [email protected]:

Would be very useful to hear what workarounds people are using until this
feature is implemented


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-43301163
.

@rowanseymour
Copy link

Yes sorry I did find that but hadn't found a good open source library for simple SQL generation (so I don't have to worry about injection). Have it working nicely with "prepared" now and this https://gist.github.com/agentgt/3650165

Narigo pushed a commit that referenced this issue Sep 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants