我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Symfony,在运行时更改数据库

I want to change the database at run-time.

For example:

In a web application a different database is created for each year (financial year) and a master table of years is in the main database.

After logging in, the user selects the year. Depending on the selected year, a different database is connected to at run-time.

Is that possible in Symfony?

近期文章

  • 如何向客户端提供JWT令牌
  • 为什么我在PHP上获得语法错误[重复]
  • 在WP自定义字段上强制图像大小
  • 包含模板路径的PHP邮件
  • Wordpress搜索查询不起作用
  • 打印多个内容标题类型
  • Ajax无法向php发送数据使用GET
  • Magento 1 api qty_invoiced decimal
  • php websocket转发到nodejs
  • 在日期计算中保持领先0 [重复]
  • Zend Apigility REST with Condition
  • 如何在一个查询中执行插入?
  • 使用pdo进行静态验证方法
  • golang上的PHP __METHOD__的等价物[复制]
  • Laravel计划自定义设置
  • 常见SQL字段的大小是多少?
  • 特定if语句的含义
  • CodeIgniter Pretty Debugging输出
  • Laravel 5中的3个模型关系
  • 结合PHP和jQuery验证

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华