WIP
This commit is contained in:
parent
1f77f4efdc
commit
f233fbf0e0
2 changed files with 1 additions and 2 deletions
|
@ -169,6 +169,7 @@ impl DatabaseType {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO : fix errors on conflict -> ignore already inserted ones
|
||||
pub async fn batch_insert(table: &str, values: &[String], entries: Vec<Vec<DatabaseType>>) {
|
||||
assert_eq!(values.len(), entries.first().unwrap().len());
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ use std::io::Seek;
|
|||
use std::os::unix::fs::FileExt;
|
||||
use std::os::unix::fs::MetadataExt;
|
||||
|
||||
// TODO: Implement file based response
|
||||
|
||||
pub struct Data {
|
||||
file: Option<String>,
|
||||
raw: Option<Vec<u8>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue