data query
does not show 0
in human result format
#1892
Labels
bug
Issue or pull request that identifies or fixes a bug
Summary
The number zero is suppressed or returns
null
when executing a SOQL query in human result format. Bothjson
andcsv
formats work as expected.Steps To Reproduce:
0
, e.g.sfdx data record create -s Opportunity -v "Name=testOpportunity StageName=Prospecting CloseDate=2023-12-31 Amount=0"
sfdx data query -q "SELECT Name, Amount FROM Opportunity WHERE Name='testOpportunity'"
Expected result
Output the record with the field value as
0
Actual result
The field value is suppressed
System Information
Additional information
This also affects aggregate queries and subqueries.
Aggregate query
Expected result
Actual result
Subquery
Expected result
Actual result
The text was updated successfully, but these errors were encountered: