mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
fix fs
This commit is contained in:
parent
7624d7209d
commit
731df97cd2
2 changed files with 4 additions and 3 deletions
|
@ -185,6 +185,7 @@ pub async fn create_db_entities_bulk_filter(
|
|||
.collect();
|
||||
|
||||
let file_path = format!("data/temp/{}.surql", file_name);
|
||||
tokio::fs::create_dir_all("data/temp").await?;
|
||||
|
||||
db_mem.export(&file_path).await?;
|
||||
db.import(&file_path).await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue