Order

google.firestore.v1.StructuredQuery. Order

Represents an Order.

Constructor

new Order(propertiesopt)

Constructs a new Order.

Parameters:
Name Type Attributes Description
properties google.firestore.v1.StructuredQuery.IOrder <optional>

Properties to set

Implements:
  • IOrder

Members

direction :google.firestore.v1.StructuredQuery.Direction

Order direction.

field :google.firestore.v1.StructuredQuery.IFieldReference|null|undefined

Order field.

Methods

(static) fromObject(object) → {google.firestore.v1.StructuredQuery.Order}

Creates an Order message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from an Order message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.firestore.v1.StructuredQuery.Order

Order

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Order to JSON.