Skip to content

Commit

Permalink
Update Query.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Mar 28, 2024
1 parent dc61d09 commit 5cb6093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mako/database/query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -1300,13 +1300,13 @@ public function yield(): Generator
*
* @return resource|null
*/
public function blob(string $column, int $chunkSize = 8192)
public function blob(string $column)
{
$this->select([$column])->limit(1);

$query = $this->compiler->select();

return $this->connection->blob($query['sql'], $query['params'], $column, $chunkSize);
return $this->connection->blob($query['sql'], $query['params'], $column);
}

/**
Expand Down

0 comments on commit 5cb6093

Please sign in to comment.