pub async fn meta_table_exists(pool: &Pool<MySql>) -> Result<bool>Expand description
Checks if the metadata table exists in the database.
This function provides a thread-safe way to check if the metadata table has been created in the database.
§Arguments
pool- Database connection pool for executing the query
§Returns
Ok(bool)- True if the table exists, false otherwiseErr(anyhow::Error)- Failed to check if the table exists
§Concurrency
This function doesn’t acquire the metadata mutex since it only performs a read operation, which doesn’t risk data corruption.