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

How to support the SQL? #41

Closed
sunyongke opened this issue Nov 23, 2020 · 2 comments
Closed

How to support the SQL? #41

sunyongke opened this issue Nov 23, 2020 · 2 comments

Comments

@sunyongke
Copy link

This is a best sandbox server. I already used these application.
and I want to know how to enable the SQL support?

@trampgeek
Copy link
Owner

The Jobe installer builds a system with sqlite3. The CodeRunner sql question type uses this via Python3. If you're using Jobe outside of CodeRunner you'll have to write your own glue code in Python (or other language of your choice) to set up an sqlite3 database file and run sql commands on it.

Here's the template for the CodeRunner question type as a text file: sqltemplate.txt. If you have further questions related to CodeRunner, please ask them on the CodeRunner question authors forum .

If you're looking for sql support beyond the level of sqlite3, I'm afraid you're out of luck.

@sunyongke
Copy link
Author

Thanks for your template

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