Skip to content

Commit a36a8f5

Browse files
committed
feat: new method
1 parent 46b2e26 commit a36a8f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pregel.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ impl Column {
146146
Some(column_name) => col(&Self::alias(&Column::Msg, column_name)),
147147
}
148148
}
149+
150+
pub fn as_ptr(&self) -> PlSmallStr {
151+
self.as_ref().into()
152+
}
149153
}
150154

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

0 commit comments

Comments
 (0)