Files
framework/library/think
thinkphp 956be17494 改进model类的db方法,支持直接使用:
$model->db('config') //读取config配置参数作为数据库连接信息

$model->db('config','mysql://root@127.0.0.1/test') //读取指定数据库连接信息连接
2015-05-30 15:30:58 +08:00
..
2015-05-12 15:34:04 +08:00
2015-02-23 20:54:16 +08:00
2015-05-12 15:34:04 +08:00
2015-05-12 15:34:04 +08:00
2015-05-12 15:34:04 +08:00
2015-02-23 20:54:16 +08:00
2015-02-23 20:54:16 +08:00
2015-02-24 10:45:34 +08:00
2015-05-12 15:34:04 +08:00
2015-03-03 18:33:47 +08:00
2015-03-27 15:38:46 +08:00
2015-05-12 15:37:37 +08:00
2015-02-23 20:54:16 +08:00
2015-03-05 15:36:14 +08:00
2015-03-03 18:33:47 +08:00
2015-02-24 10:45:34 +08:00
2015-05-12 15:37:37 +08:00
2015-02-23 20:54:16 +08:00
2015-03-26 16:15:35 +08:00
2015-02-24 10:45:34 +08:00
2015-05-12 15:34:04 +08:00
2015-03-03 18:33:47 +08:00
2015-03-27 15:38:46 +08:00
2015-03-03 18:33:47 +08:00
2015-03-27 15:38:46 +08:00
2015-05-12 15:34:04 +08:00
2015-03-27 15:38:46 +08:00