WIP: Keep multiple database instances stored in static array #36
No reviewers
Labels
No labels
bug
dependency
documentation
feature
invalid
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/scaffold!36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/multiple-database-instances"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is not a solution to issue #31. It's another hack that will allow connections to multiple databases to say open. A database specific database instance can be recalled by passing an optional string
Database::instance("db_name")which will [create if it does not exist, and] return aDatabaseinstance for that database name.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.