在 Drupal 中基于 SQL 查询创建视图
有没有办法在 Drupal 中基于自定义 SQL 查询创建视图?我进行了查询来测试我的结果,一切都很好,但不想经历尝试通过视图 UI 重新创建相同结果的整个过程...
我需要将其生成为视图以使用公开的过滤器和能够创建不同的显示模式,这就是为什么我不简单地执行命令并显示结果。
我发现一个名为“基于查询的视图(Q-Views)”的旧模块可以完成这项工作,但它看起来已被弃用。
谢谢, 坦率
Is there a way to create a View in Drupal based on a custom SQL query? I made the query to test my results and everything is fine, but don't wanna go through the whole process of trying to recreate the same via the View UI...
I need to generate it as a View to use the exposed filters and be able to create different display modes, that's why I don't simply execute the command and display the results.
I found an old module called "Query-Based Views (Q-Views)" that would do the job, but it looks deprecated.
Thanks,
Frank
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
方法之一:您可以使用关系。因此,编写自己的查询,添加视图支持并附加到当前视图......
One of ways: You can use Relationships. So write own query, add views support and attach to current views...