Function create

Source
pub async fn create(
    db: &Surreal<Client>,
    owner: UserRecordId,
    name: &str,
    path: PathBuf,
) -> Result<Option<Asset>>