Deno logo
DeployManualBlogAPIStandard LibraryThird Party Modules

esm.sh/@firebase/[email protected]/dist/index.d.ts

sum

Create an AggregateField object that can be used to compute the sum of a specified field over a range of documents in the result set of a query.

function sum(field: string | FieldPath): AggregateField<number>;
§
sum(field: string | FieldPath): AggregateField<number>
[src]

§Parameters

§
field: string | FieldPath
[src]
  • Specifies the field to sum across the result set.

§Return Type

§
AggregateField<number>
[src]
Manual
API
Standard Library
Third Party Modules
Benchmarks
Artwork
Blog
System Status
Companies interested in Deno