public T Max <T>(ClickHouseTable table, string columnName, string where = null) { using (ClickHouseConnection conn = new ClickHouseConnection(ConnectionSettings)) { conn.Open(); return(conn.GetMaxValue <T>(table.Name, columnName, where : where)); } }