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

Database Support #35

Closed
7 tasks
davidkircos opened this issue Mar 30, 2022 · 5 comments
Closed
7 tasks

Database Support #35

davidkircos opened this issue Mar 30, 2022 · 5 comments
Labels
type: enhancement new feature or request
Milestone

Comments

@davidkircos
Copy link
Collaborator

davidkircos commented Mar 30, 2022

Knex.js for connecting databases

Should work for npm start & electron. No support for "Cloud".

  • get node+express running alongside app (web + electron)
  • store database credentials in localstorage
  • pipe requests through Node, Express API running locally
  • Database credentatls are added via file bar
  • Databaes are queried via cells.
  • Create SQL Editor
  • Select target database, or grid
@davidkircos davidkircos added the type: enhancement new feature or request label Mar 30, 2022
@davidkircos davidkircos added this to the v0.1.1 milestone May 4, 2022
@davidkircos davidkircos linked a pull request May 10, 2022 that will close this issue
@mingfang
Copy link

FYI - this is a combination of postgres client for the browser and websocket proxy on the server, to enable running postgres sql over the web.
https://github.com/neondatabase/serverless

@davidkircos
Copy link
Collaborator Author

@mingfang That is really cool. It seems to me the better approach is to proxy database requests, which would support a much wider range of databases and keep the client application smaller.

@mingfang
Copy link

@davidkircos Yes I agree that's a better approach.
There's a low-code platform called Openblocks that has this approach.
https://docs.openblocks.dev/queries/query-basics

Ideally(for me) is to integrate Quadratic with Openblocks.
But that requires Quadratic to be a standalone React component.

@davidkircos
Copy link
Collaborator Author

Makes sense.

What do you use OpenBlocks for? We are working towards being able to import data from SQL, run code, and generate output such as charts and graphs directly in Quadratic. If we had that would it be feasible to work solely inside of Quadratic?

@mingfang
Copy link

All of that is already done in Openblocks.
I guess it's a choice of putting "openblocks" into Quadratic vs putting Quadratic(React grid) into Openblocks.
Both are great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement new feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants