aboutsummaryrefslogtreecommitdiffstats
path: root/log_db/src/row.rs
diff options
context:
space:
mode:
Diffstat (limited to 'log_db/src/row.rs')
-rw-r--r--log_db/src/row.rs15
1 files changed, 2 insertions, 13 deletions
diff --git a/log_db/src/row.rs b/log_db/src/row.rs
index 5ebb069..d8140d2 100644
--- a/log_db/src/row.rs
+++ b/log_db/src/row.rs
@@ -37,17 +37,6 @@ impl Row {
}
Row { values, tombstone }
}
-
- pub fn from(values: &[Value]) -> Row {
- Row {
- values: values.to_vec(),
- tombstone: false,
- }
- }
-
- pub fn at(&self, index: usize) -> &Value {
- &self.values[index]
- }
}
#[cfg(test)]
@@ -76,6 +65,6 @@ mod tests {
#[derive(Clone, Debug)]
pub enum TxEntry {
- Upsert { record: Row },
- Delete { record: Row },
+ Upsert { row: Row },
+ Delete { row: Row },
}