- Preparing search index...
- The search index is not available
Kosmos v26.1.1
Function elementMapToEdgeValue
- elementMapToEdgeValue(map: GremlinMap): {
id: string | Record<string, string>;
inV: {
properties: undefined;
};
label: string | Record<string, string>;
outV: {
properties: undefined;
};
properties: {};
}
-
Returns {
id: string | Record<string, string>;
inV: {
properties: undefined;
};
label: string | Record<string, string>;
outV: {
properties: undefined;
};
properties: {};
}
-
id: string | Record<string, string>
-
inV: {
properties: undefined;
}
-
label: string | Record<string, string>
-
outV: {
properties: undefined;
}
-
properties: {}
Convert the result of a Gremlin .elementMap() call to a simple JS object.
This differs from elementMapToObject() in that it also converts
INandOUTtoinVandoutVso that the value can be passed to an edge postUpdate hook.Returns
A JS object.