pub struct CreateSnapshotClause {
pub variable: Option<String>,
pub labels: Vec<String>,
pub properties: Option<MapLiteral>,
pub temporal_anchor: Option<Expression>,
pub from_match: MatchClause,
pub from_return: Vec<ReturnItem>,
}Expand description
CREATE SNAPSHOT clause for materializing query results into a subgraph.
Syntax: CREATE SNAPSHOT (var:Label {props}) [AT TIME expr] FROM MATCH pattern [WHERE filter] RETURN items
Fields§
§variable: Option<String>Optional variable name for the snapshot subgraph.
labels: Vec<String>Labels for the snapshot subgraph.
properties: Option<MapLiteral>Properties to set on the snapshot subgraph.
temporal_anchor: Option<Expression>Optional temporal anchor (AT TIME expr).
from_match: MatchClauseThe FROM MATCH clause defining the source pattern.
from_return: Vec<ReturnItem>The FROM RETURN items defining what to capture.
Trait Implementations§
Source§impl Clone for CreateSnapshotClause
impl Clone for CreateSnapshotClause
Source§fn clone(&self) -> CreateSnapshotClause
fn clone(&self) -> CreateSnapshotClause
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateSnapshotClause
impl Debug for CreateSnapshotClause
Source§impl PartialEq for CreateSnapshotClause
impl PartialEq for CreateSnapshotClause
impl StructuralPartialEq for CreateSnapshotClause
Auto Trait Implementations§
impl Freeze for CreateSnapshotClause
impl RefUnwindSafe for CreateSnapshotClause
impl Send for CreateSnapshotClause
impl Sync for CreateSnapshotClause
impl Unpin for CreateSnapshotClause
impl UnsafeUnpin for CreateSnapshotClause
impl UnwindSafe for CreateSnapshotClause
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more