Properties
NAME | TYPE | DESCRIPTION |
$id | string | Document ID. |
$collection | string | Collection ID. |
$createdAt | integer | Document creation date in Unix timestamp. |
$updatedAt | integer | Document update date in Unix timestamp. |
$read | array | Document read permissions. |
$write | array | Document write permissions. |
Example
JSON
{
"$id": "5e5ea5c16897e",
"$collection": "5e5ea5c15117e",
"$createdAt": 1592981250,
"$updatedAt": 1592981250,
"$read": "role:all",
"$write": "user:608f9da25e7e1"
}
JSON
{
"_id": "5e5ea5c16897e",
"_collection": "5e5ea5c15117e",
"_createdAt": 1592981250,
"_updatedAt": 1592981250,
"_read": "role:all",
"_write": "user:608f9da25e7e1"
}