This commit is contained in:
JMARyA 2025-04-28 14:16:44 +02:00
parent 1f77f4efdc
commit f233fbf0e0
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 1 additions and 2 deletions

View file

@ -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());

View file

@ -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>>,