Skip to main content

## storage_save_server

# Function storage_save_server

Source

    pub async fn storage_save_server(
        db: State<'_, DatabaseWrapper>,
        id: String,
        name: String,
        url: String,
        version: Option<String>,
    ) -> Result<(), String>

Expand description

Save a server connection Uses INSERT … ON CONFLICT to avoid triggering CASCADE DELETE on users