Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在codeigniter中使用一个模型在我的脚本中的许多数据库之间切换,我想使用Utility类,当我使用它时,它处理在数据库配置文件中作为active_group写入的数据库,我可以改变它来处理任何其他数据库不活动?
我认为如何使用忽略 active_group 的多个 dbs是您正在寻找的。