mongodb - 从 mongodb 中的多个集合创建视图?
问题描述
SQL Server 中的视图想在 mongodb 中创建
CREATE VIEW memplog
AS
SELECT
recipient, originator, [text], create_date, sent_date
FROM
[smslog_01042018]
UNION ALL
SELECT
recipient, originator,[text], create_date, sent_date
FROM
[smslog_02042018]
UNION ALL
SELECT
recipient, originator,[text], create_date, sent_date
FROM
[smslog_03042018]
解决方案
推荐阅读
- react-native - ios 10 中的 Linking.openURL(jumpUrl) 无法打开网址:tel xxx
- sql - 如何为已解码的列添加条件
- react-native - 有没有一种方法可以使用 PHP 为每个特定用户显示 MySQL 表值,以便在反应本机应用程序中查看他们的个人资料?
- flutter - 如何使用计数器方法增加颤动中淡入淡出动画的时间?
- c++ - vector.reserve(10000000) 的缺点是因为我想保留原始内存位置?
- sql - sql 两个where子句从一个表变成两个新行
- sql - 之前和之后的 SQL 子字符串
- angular - 在Angular 10中使用ng测试进行测试时如何克服业力中的NullInjector错误
- python - 如何在熊猫数据框中输入列表作为列值?
- php - PayPal Smart Button 服务器端实现 - 捕获交易的问题 - PHP