Abstract
Creates an entity with a given name.
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.
Readonly
columnsThe collection of items (properties) for the entity.
Readonly
rowsData (low) collection of entities.
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.
Abstract
cloneAbstract
copyReturns 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.
Initialize the current object using the serialized object.
In this process, the object is initialized, and the state of the object is restored based on the serialized object (oGuid
).
serialized object.
Optional
origin: objectOriginal object. Default is 'oGuid'.
Set the MetaRow value to the value in the column.
MetaRow object to set.
Static
transform
Primary entity class (top)
This class models entities in the database (e.g., tables, views, etc.), and manages column and raw data. It implements various interfaces to support transactions, serialization, schema conversion, and more.