Skip to content

Add support for configuring a database with popular SDKs #5501

@remyleone

Description

@remyleone

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

It would be helpful to have in rdb the ability to generate a snippet of code that could be integrated in a given language to connect to a database.

How I imagine scw could expose this functionality

scw rdb config get type=php

And it would generate a connect string similar to: https://www.php.net/manual/en/function.pg-connect.php

We would add support for node, typescript, python, go, rust, ...

In particular in case the rdb is not available with a public endpoint we would configure it in the context of the private network it is in.

References

Metadata

Metadata

Assignees

Labels

agentAll the issues related to make the CLI work better with coding agentsenhancementpriority:mediumImprovements that are not the main priorityrdbManaged MySQL and PostgreSQL issues, bugs and feature requests
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions