I should be working...
This commit is contained in:
1 parent
a6d45edd41
commit
7ecbf250a0
8 files changed
+88
-45
No files matched your search
@@ -0,0 +1,9 @@
|
||||
use rusqlite::{Transaction, Result};
|
||||
use crate::db::accounts::get_account_by_id;
|
||||
use crate::db::securities::get_security_by_id;
|
||||
|
||||
fn update_account(tx: & Transaction, account_id: u32) -> Result<()>{
|
||||
let account = get_account_by_id(tx, account_id)?;
|
||||
// let sec = get_security_by_id(tx, account.)
|
||||
return Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user