viewOn property

String? viewOn
finalinherited

The name of the source collection or view from which to create the view. The name is not the full namespace of the collection or view; i.e. does not include the database name and implies the same database as the view to create. You must create views in the same database as the source collection.

See also db.createView().

New in version 3.4.

Implementation

final String? viewOn;