Start adding db download/upload, migrate graph to async/await
This commit is contained in:
12
src/graph/pull_from_db.rs
Normal file
12
src/graph/pull_from_db.rs
Normal 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 {}
|
||||
Reference in New Issue
Block a user