diff --git a/src/Medoo.php b/src/Medoo.php
index <HASH>..<HASH> 100644
--- a/src/Medoo.php
+++ b/src/Medoo.php
@@ -1482,7 +1482,7 @@ class Medoo
 		}
 	}
 
-	public function aggregate($type, $table, $join = null, $column = null, $where = null)
+	private function aggregate($type, $table, $join = null, $column = null, $where = null)
 	{
 		$map = [];
[update] Make aggregate as private