Reference
Reference
A model representing a record reference in Skygear record.
Constructor Summary
| Public Constructor | ||
| public |
constructor(attrs: Record | String) Constructs a new Reference object. |
|
Member Summary
| Public Members | ||
| public get |
id: String ID of the referenced record |
|
Method Summary
| Public Methods | ||
| public |
toJSON(): Object Serializes Reference to a JSON object. |
|
Public Constructors
Public Members
Public Methods
public toJSON(): Object source
Serializes Reference to a JSON object.
Return:
| Object | the JSON object |
