Property Reference > Quick Reference for All Properties > MainViewNames Property |
C1Query.MainViewNames (index)
Notes
Property applies to C1Query collection.
Arguments
index is an integer index from 0 to MainViewCount.
Return Value
The name of the main view of a viewset. This name uniquely identifies a viewset (sub-schema).
Description
A multi-viewset schema is a schema consisting of multiple sets of views independent of each other. Views belonging to different viewsets cannot be joined together in a single SQL statement.
This property can be used to enumerate all viewsets (sub-schemas) in a schema.
See Also
MainViewCount property
MainViewName property
Modifying Schema and Field List at Run Time