简体   繁体   English

mysql查看codeigniter活动记录

[英]mysql views codeigniter active record

my question is, is there anything different about writing models that will consume mysql views using active record? 我的问题是,编写使用活动记录消耗mysql视图的模型有什么不同吗? I would like to make some mysql views and have some models to consume the data contained in the views at any given time. 我想制作一些mysql视图,并有一些模型可以随时使用视图中包含的数据。

Thanks 谢谢

No, not really. 不,不是。 Views are only a set of preselected rows from one or more tables so there should be no problem to access them thru a model. 视图只是一个或多个表中的一组预选行,因此通过模型访问它们应该没有问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM