mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
rename variable
This commit is contained in:
parent
2b80489340
commit
8679dfc332
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue