refactor: main

This commit is contained in:
Elijah McMorris 2024-08-27 19:11:23 -07:00
parent b885315cd7
commit bb9967ced6
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
3 changed files with 25 additions and 88 deletions

View file

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