标签: sqlite
SQLite作者目前实现了Union Virtual Table,但我不明白使用它的好处而不是简单:CREATE VIEW foo AS SELECT * FROM A.foo UNION ALL SELECT * FROM B.foo?后者不会保留对这些表的索引查询,还允许通过触发器添加写入功能吗?
CREATE VIEW foo AS SELECT * FROM A.foo UNION ALL SELECT * FROM B.foo