We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbca626 commit e30eeffCopy full SHA for e30eeff
1 file changed
kernel/src/transaction.rs
@@ -85,7 +85,8 @@ impl Transaction {
85
/// Instead of using this API, the more typical (user-facing) API is
86
/// [Table::new_transaction](crate::table::Table::new_transaction) to create a transaction from
87
/// a table automatically backed by the latest snapshot.
88
- pub(crate) fn try_new(snapshot: impl Into<Arc<Snapshot>>) -> DeltaResult<Self> {
+ /// Use this API only if you need to create a transaction from a specific snapshot.
89
+ pub fn try_new(snapshot: impl Into<Arc<Snapshot>>) -> DeltaResult<Self> {
90
let read_snapshot = snapshot.into();
91
92
// important! before a read/write to the table we must check it is supported
0 commit comments