Skip to content
This repository was archived by the owner on May 12, 2022. It is now read-only.

Commit 1cfee93

Browse files
author
Nik Barham
committed
Default column for count when changing type of query
1 parent c6e49da commit 1cfee93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/QueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class QueryBuilder
1919
protected $table;
2020
protected $tableSubquery;
2121
protected $columns = ['*'];
22-
protected $count;
22+
protected $count = '*';
2323
protected $set = [];
2424
protected $joins = [];
2525
protected $where = [];

0 commit comments

Comments
 (0)