mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
rename variable
This commit is contained in:
parent
2b80489340
commit
8679dfc332
@ -26,8 +26,8 @@ impl Database {
|
|||||||
|
|
||||||
/// Get all records
|
/// Get all records
|
||||||
pub fn records(&self) -> Vec<Table> {
|
pub fn records(&self) -> Vec<Table> {
|
||||||
let binding = self.connection.read().unwrap();
|
let readable = self.connection.read().unwrap();
|
||||||
let tx = binding.unchecked_transaction().unwrap();
|
let tx = readable.unchecked_transaction().unwrap();
|
||||||
records(&tx).unwrap()
|
records(&tx).unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user