Description
A useful SQL feature is to define views on tables.
This is in particular useful to restrict access to specific parts of a table.
N1QL should have the same, although there might be things to consider when it comes to projection lists.
Views to at the scope level are straight forward, but attention should be paid to how, or even if, to implement global views (to use UDF parlance) (ie views sitting at the bucket level).
This improvement requires metadata storage.