mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
refactor: main
This commit is contained in:
parent
b885315cd7
commit
bb9967ced6
3 changed files with 25 additions and 88 deletions
|
@ -76,11 +76,12 @@ pub async fn create_entity(db: &Surreal<impl Connection>, line: &str) -> Result<
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Clone, Copy, Default)]
|
||||
pub enum CreateVersion {
|
||||
Single,
|
||||
#[default]
|
||||
Bulk,
|
||||
// must create a filter.surql file in the root directory
|
||||
/// must create a filter.surql file in the root directory
|
||||
BulkFilter,
|
||||
}
|
||||
impl CreateVersion {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue