电影数据库只包含几个文档,因此即使是临时视图也能快速返回。
The movies database contains only a few documents, so even temporary views return quickly.
清单 20 中的代码查询所有文档,以创建一个用于显示数据库中的所有电影的放映时间的临时视图
The code in Listing 20 queries all documents to create a temporary view that shows the runtimes of all movies in the database
您可以在sql函数、触发器、索引和视图中引用已创建的临时表。
You can reference a created temporary table in SQL functions, triggers, indexes, and views.
应用推荐