top-think / top-think/think-orm

动态切换数据库实现覆盖所有数据库

Open
#840 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
437
Forks
188
PR merge metrics
No merged PRs in 30d

Description

http://www.thinkphp.cn/topic/71633.html
目前这个帖子里面说的并不能实现tp6.0 一次切换数据库实现覆盖配置,这个在tp 5.0里面是可以,麻烦官方给与支持一下

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked ThinkPHP discussion and compare the reported database-switching behavior between ThinkPHP 5.0 and 6.0. Clarify which configurations and database implementations must be covered before identifying the relevant ORM entry points. Done means dynamic switching works across the requested databases without the configuration limitation described.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.