Skip to content

Commit

Permalink
feat: new method
Browse files Browse the repository at this point in the history
  • Loading branch information
angelip2303 committed Dec 23, 2024
1 parent 46b2e26 commit a36a8f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pregel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ impl Column {
Some(column_name) => col(&Self::alias(&Column::Msg, column_name)),
}
}

pub fn as_ptr(&self) -> PlSmallStr {
self.as_ref().into()
}
}

/// This defines a struct `SendMessage` in Rust. It has two properties:
Expand Down

0 comments on commit a36a8f5

Please sign in to comment.