feat(qb_query): expose fields like db_query
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
81f7a247f0
commit
c0ebc96597
1 changed files with 2 additions and 0 deletions
|
|
@ -117,6 +117,8 @@ class DatabaseQuery:
|
|||
if not fields:
|
||||
fields = [pluck or "name"]
|
||||
|
||||
self.fields = fields
|
||||
|
||||
# Handle virtual doctypes before any other processing
|
||||
if is_virtual_doctype(self.doctype):
|
||||
return self._handle_virtual_doctype(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue