Start adding db download/upload, migrate graph to async/await

This commit is contained in:
2024-08-29 21:24:23 +09:30
parent 0ee88e3a99
commit 9e225e58cb
12 changed files with 626 additions and 86 deletions

12
src/graph/pull_from_db.rs Normal file
View File

@@ -0,0 +1,12 @@
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use super::sql::QueryExecutor;
/**
* Pull data from a db using a db query into a csv file that can be used by another node
*/
fn pull_from_db(executor: &mut impl QueryExecutor, node: PullFromDBNode) {}
#[derive(Serialize, Deserialize, Clone, JsonSchema)]
pub struct PullFromDBNode {}