Model
Direct Subclass:
A base class for RxDB models that provides abstract support for JSON serialization and deserialization, and attribute-based matching.
Your RxDB data classes should extend Model and extend it's attributes:
- {AttributeString} id: The resolved canonical ID of the model used in the database and generally throughout the app.
Static Method Summary
Static Public Methods | ||
public static |
naturalSortOrder(): * |
Constructor Summary
Public Constructor | ||
public |
constructor(values: {}) |
Member Summary
Public Members | ||
public |
id: * |
Method Summary
Public Methods | ||
public |
attributes(): * |
|
public |
clone(): * |
|
public |
fromJSON(json: *): * |
|
public |
|
|
public |
toJSON(options: {}): * |
|
public |
toString(): * |
Static Public Methods
Public Constructors
public constructor(values: {}) source
Params:
Name | Type | Attribute | Description |
values | {} |
|