# Functions
{
"prefix": string, optional,
"origin_type": string,
"body": json
}
create objects -> object link
create type -> object link
create object -> type link
TODO: Add origin type check
*/.
{
"to": string,
"body": json
}
create object -> object link
*/.
{
"prefix": string, optional
"body": json
}
create types -> type link
*/.
{
"to": string,
"object_link_type": string
"body": json
}
create type -> type link
*/.
{
"mode": "vertex" | "cascade", optional, default: vertex
}
*/.
{
"to": string,
}
*/.
No description provided by the author
No description provided by the author
Creates a link of type="link_type" from an object with id the funcion being called with to an object with id="descendant_uuid".
Delete a link of type="link_type" from an object with id the funcion being called with to an object with id="descendant_uuid".
Updates a link of type="link_type" from an object with id the funcion being called with to an object with id="descendant_uuid".
Creates an object in the graph with an id the function being called with.
Deletes an object with an id the function being called with from the graph and deletes all links related to it.
Updates an object in the graph with an id the function being called with.
No description provided by the author
{
"mode": string, optional, default: merge
"body": json
}
*/.
{
"to": string,
"body": json
}
*/.
{
"strategy": string, optional, default: DeepMerge
"body": json
}
*/.
{
"to": string,
"object_link_type": string, optional
"body": json, optional
}
if object_link_type not empty
- prepare link_body.link_type = object_link_type
- after success updating, find all objects with certain types and change link_type
*/.
# Constants
key=fmt.Sprintf(InLinkKeyPrefPattern+LinkKeySuff2Pattern, <toVertexId>, <fromVertexId>, <linkType>), value=nil.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
key=fmt.Sprintf(OutLinkBodyKeyPrefPattern+LinkKeySuff2Pattern, <fromVertexId>, <linkType>, <toVertexId>), value=<linkBody>.
key=fmt.Sprintf(OutLinkIndexPrefPattern+LinkKeySuff3Pattern, <fromVertexId>, <linkType>, <toVertexId>, <index_name>, <tag>), value=nil.
key=fmt.Sprintf(OutLinkLinkNamePrefPattern+LinkKeySuff1Pattern, <fromVertexId>, <link_name>), value=nil.
key=fmt.Sprintf(OutLinkNameGenKeyPattern, <fromVertexId>), value=counter[int64].
No description provided by the author
No description provided by the author
No description provided by the author