pub struct NodeAndEdgeCreateCollection<TProperties> {
pub items: Vec<NodeOrEdgeCreate<TProperties>>,
pub auto_create_direct_relations: Option<bool>,
pub auto_create_start_nodes: Option<bool>,
pub auto_create_end_nodes: Option<bool>,
pub skip_on_version_conflict: Option<bool>,
pub replace: Option<bool>,
}Expand description
A list of nodes and edges to create. Parametrized by the type used for instance properties.
Fields§
§items: Vec<NodeOrEdgeCreate<TProperties>>Nodes and edges to create.
auto_create_direct_relations: Option<bool>Whether to auto create direct relations that do not exist.
auto_create_start_nodes: Option<bool>Whether to auto create start nodes that do not exist.
auto_create_end_nodes: Option<bool>Whether to auto create end nodes that do not exist.
skip_on_version_conflict: Option<bool>If existing_version is specified on any of the nodes/edges in the input,
the default behaviour is that the entire ingestion will fail when
version conflicts occur. If skip_on_version_conflict is set to true,
items with version conflicts will be skipped instead. If no version is
specified for nodes/edges, it will do the write directly.
replace: Option<bool>How do we behave when a property value exists? Do we replace all matching and existing values with the supplied values (true)? Or should we merge in new values for properties together with the existing values (false)? Note: This setting applies for all nodes or edges specified in the ingestion call.
Trait Implementations§
Source§impl<TProperties: Clone> Clone for NodeAndEdgeCreateCollection<TProperties>
impl<TProperties: Clone> Clone for NodeAndEdgeCreateCollection<TProperties>
Source§fn clone(&self) -> NodeAndEdgeCreateCollection<TProperties>
fn clone(&self) -> NodeAndEdgeCreateCollection<TProperties>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more