Creates a meta view with a given name, and sets the default entity.
The name of the view.
Default entity, added to default entity when adding columns.
Default entity.
Unique identifier of the object (GUID). Uniquely identifies the object.
Protected
_metaMetaset to which the entity belongs.
The name of the element, which acts as a unique identifier for the MetaElement.
The generator function of the object. The function used when the object was created.
Collection of columns in the view.
Readonly
rowsData (low) collection of entities.
The name of the meta view.
Static
Readonly
_NSIndicates the namespace.
Static
Readonly
_PARAMList of parameters used for the constructor.
Static
Readonly
_UNIONList of implemented interfaces.
Creates and sets rows for a given entity.
The entity to be built.
Callback to be called after row generation.
Row name to select, [], or full selection when undefined.
The created entity.
Read the entity according to the given option.
Destination entity.
Read option.
Copy the args column name after running the callback.
The filter function that selects the column.
List of column names to copy.
The copied meta-view object.
Copy the args column name after the callback.
The filter function that selects the column.
Rest
...args: any[]List of column names to copy.
The copied meta-view object.
Copy the target column.
The filter function that selects the column.
The copied meta-view object.
Returns objects in serialized form according to specific options; cyclic references are replaced by $ref values.
Optional
vOpt: numberImport option. (Default: 0)
Optional
owned: object | object[]Top objects that currently own the object. (Default: {})
Serialized object.
Merges the given entity with the current entity.
Destination entity to merge.
Merge option. (TODO: type definition required)
Optional
matchType: booleanWhether or not a row validation exists. (Default: false)
Outputs the current entity as a serialized string.
Optional. (0, 1, 2)
Optional
stringify: FunctionThis is a custom parser function. (Optional)
Optional
space: stringA blank string to use in the output. (Optional)
Serialized string.
Query rows according to the given callback function.
A callback function that defines the query conditions.
This is the searched entity.
Query rows that meet the given filter conditions.
Filter conditions.
Rest
...cols: any[]The name of the column to be set for the filter.
This is the searched entity.
Query rows that meet the given filter conditions.
Filter conditions.
Rest
...cols: any[]The name of the column to be set for the filter.
This is the searched entity.
Enquires rows that match the specified column.
Rest
...cols: any[]column specification.
This is the searched entity.
Set the MetaRow value to the value in the column.
MetaRow object to set.
Static
transform
Meta View Class
This class models the views in the database, and manages the columns and underlying entities in the views.