A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/aggregatefield below:

Class AggregateField (9.1.0) | Node.js client library

Class AggregateField (9.1.0)

Stay organized with collections Save and categorize content based on your preferences.

An AggregateField is a class that contains data that defines an aggregation.

Package@google-cloud/datastore Properties alias_ Methods alias(alias)
alias(alias?: string): AggregateField;

Sets the alias on the aggregate field that should be used.

Parameter Name Description alias string

The label used in the results to describe this aggregate field when a query is run.

average(property)
static average(property: string): Average;

Gets a copy of the Average aggregate field.

Parameter Name Description property string
Returns Type Description Average

{Average}

count()

Gets a copy of the Count aggregate field.

Returns Type Description Count

{Count}

sum(property)
static sum(property: string): Sum;

Gets a copy of the Sum aggregate field.

Parameter Name Description property string
Returns Type Description Sum

{Sum}

toProto()

Gets the proto for the aggregate field.

Returns Type Description any

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4